From 13b3157fdbefc1980e79c6199358cc564d4fe950 Mon Sep 17 00:00:00 2001 From: Roger Lee Whitcomb Date: Fri, 22 Mar 2013 19:42:18 +0000 Subject: [PATCH] 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 --- wtk/src/org/apache/pivot/wtk/ApplicationContext.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wtk/src/org/apache/pivot/wtk/ApplicationContext.java b/wtk/src/org/apache/pivot/wtk/ApplicationContext.java index b6c86b302..9d235c8ad 100644 --- a/wtk/src/org/apache/pivot/wtk/ApplicationContext.java +++ b/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);