Subversion Repository Public Repository

litesoft

Diff Revisions 49 vs 151 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/nonpublic/GwtClientDelayedTimedRunnableRunner.java

Diff revisions: vs.
  @@ -1,11 +1,12 @@
1 1 // This Source Code is in the Public Domain per: http://litesoft.org/License.txt
2 2 package org.litesoft.GWT.client.nonpublic;
3 3
4 - import com.google.gwt.user.client.*;
5 4 import org.litesoft.GWT.client.*;
6 5 import org.litesoft.core.delayed.nonpublic.*;
7 6 import org.litesoft.core.util.*;
8 7
8 + import com.google.gwt.user.client.*;
9 +
9 10 public class GwtClientDelayedTimedRunnableRunner extends AbstractDelayedTimedRunnableRunner
10 11 {
11 12 private final MyTimer mTimer;
  @@ -22,9 +23,7 @@
22 23 int zMsDelay = (int) (pWhenTimeInMilliSecs - pNowInMilliSecs);
23 24 if ( zMsDelay <= 0 )
24 25 {
25 - throw new IllegalArgumentException( "Delay is not greater than 0 (" + zMsDelay + "=" +
26 - pWhenTimeInMilliSecs + "-" + pNowInMilliSecs + ") with: " +
27 - UtilsCommon.justClassNameOf( mTimedRunnable ) );
26 + throw new IllegalArgumentException( "Delay is not greater than 0 (" + zMsDelay + "=" + pWhenTimeInMilliSecs + "-" + pNowInMilliSecs + ") with: " + UtilsCommon.justClassNameOf( mTimedRunnable ) );
28 27 }
29 28 mTimer.schedule( zMsDelay );
30 29 }