Permalink
Browse files

Some small changes to Javadoc to indicate that scheduled callbacks

specify time in milliseconds (just to be clear).

This is a merge of revision 1459950 from branches\2.0.x to trunk.


git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1459951 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 882799e commit 13b3157fdbefc1980e79c6199358cc564d4fe950 Roger Lee Whitcomb committed Mar 22, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 wtk/src/org/apache/pivot/wtk/ApplicationContext.java
@@ -1759,7 +1759,7 @@ public static Version getPivotVersion() {
* The task to execute.
*
* @param delay
- * The length of time to wait before executing the task.
+ * The length of time to wait before executing the task (in milliseconds).
*/
public static ScheduledCallback scheduleCallback(Runnable callback, long delay) {
ScheduledCallback scheduledCallback = new ScheduledCallback(callback);
@@ -1787,7 +1787,7 @@ public static ScheduledCallback scheduleCallback(Runnable callback, long delay)
* The task to execute.
*
* @param period
- * The interval at which the task will be repeated.
+ * The interval at which the task will be repeated (in milliseconds).
*/
public static ScheduledCallback scheduleRecurringCallback(Runnable callback, long period) {
return scheduleRecurringCallback(callback, 0, period);
@@ -1801,10 +1801,10 @@ public static ScheduledCallback scheduleRecurringCallback(Runnable callback, lon
* The task to execute.
*
* @param delay
- * The length of time to wait before the first execution of the task
+ * The length of time to wait before the first execution of the task (milliseconds).
*
* @param period
- * The interval at which the task will be repeated.
+ * The interval at which the task will be repeated (also in milliseconds).
*/
public static ScheduledCallback scheduleRecurringCallback(Runnable callback, long delay, long period) {
ScheduledCallback scheduledCallback = new ScheduledCallback(callback);

0 comments on commit 13b3157

Please sign in to comment.