Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
Roger Lee Whitcomb committed Mar 22, 2013
1 parent 882799e commit 13b3157
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wtk/src/org/apache/pivot/wtk/ApplicationContext.java
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 13b3157

Please sign in to comment.