summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/java/com/android/common/OperationScheduler.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/common/java/com/android/common/OperationScheduler.java b/common/java/com/android/common/OperationScheduler.java
index 261b15d..81371ef 100644
--- a/common/java/com/android/common/OperationScheduler.java
+++ b/common/java/com/android/common/OperationScheduler.java
@@ -20,7 +20,6 @@ import android.content.SharedPreferences;
import android.net.http.AndroidHttpClient;
import android.text.format.Time;
-import java.util.Map;
import java.util.TreeSet;
/**
@@ -31,7 +30,7 @@ import java.util.TreeSet;
*
* <p>This class does not directly perform or invoke any operations,
* it only keeps track of the schedule. Somebody else needs to call
- * {@link #getNextTimeMillis()} as appropriate and do the actual work.
+ * {@link #getNextTimeMillis} as appropriate and do the actual work.
*/
public class OperationScheduler {
/** Tunable parameter options for {@link #getNextTimeMillis}. */
@@ -249,7 +248,7 @@ public class OperationScheduler {
/**
* Forbid any operations until after a certain (absolute) time.
- * Limited by {@link #Options.maxMoratoriumMillis}.
+ * Limited by {@link Options#maxMoratoriumMillis}.
*
* @param millis wall clock time ({@link System#currentTimeMillis()})
* when operations should be allowed again; 0 to remove moratorium
@@ -263,7 +262,7 @@ public class OperationScheduler {
/**
* Forbid any operations until after a certain time, as specified in
* the format used by the HTTP "Retry-After" header.
- * Limited by {@link #Options.maxMoratoriumMillis}.
+ * Limited by {@link Options#maxMoratoriumMillis}.
*
* @param retryAfter moratorium time in HTTP format
* @return true if a time was successfully parsed
@@ -285,7 +284,7 @@ public class OperationScheduler {
/**
* Enable or disable all operations. When disabled, all calls to
- * {@link #getNextTimeMillis()} return {@link Long#MAX_VALUE}.
+ * {@link #getNextTimeMillis} return {@link Long#MAX_VALUE}.
* Commonly used when data network availability goes up and down.
*
* @param enabled if operations can be performed