You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2013/03/22 20:42:19 UTC
svn commit: r1459951 - in /pivot/trunk: ./
wtk/src/org/apache/pivot/wtk/ApplicationContext.java
Author: rwhitcomb
Date: Fri Mar 22 19:42:18 2013
New Revision: 1459951
URL: http://svn.apache.org/r1459951
Log:
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.
Modified:
pivot/trunk/ (props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
Propchange: pivot/trunk/
------------------------------------------------------------------------------
Merged /pivot/branches/2.0.x:r1459950
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java?rev=1459951&r1=1459950&r2=1459951&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java Fri Mar 22 19:42:18 2013
@@ -1759,7 +1759,7 @@ public abstract class ApplicationContext
* 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 abstract class ApplicationContext
* 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 abstract class ApplicationContext
* 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);