litesoft
Diff Revisions
49
vs
151
for /trunk/Java/core/Anywhere/src/org/litesoft/core/delayed/TimedRunner.java
|
@@ -8,8 +8,7 @@ |
8 |
8 |
|
{ |
9 |
9 |
|
private MyTimedRunnable mMyTimedRunnable = null; |
10 |
10 |
|
|
11 |
|
- |
public TimedRunner( DelayedTimedRunnableRunner pRunner, |
12 |
|
- |
UnexpectedExceptionHandler pUnexpectedExceptionHandler ) |
|
11 |
+ |
public TimedRunner( DelayedTimedRunnableRunner pRunner, UnexpectedExceptionHandler pUnexpectedExceptionHandler ) |
13 |
12 |
|
{ |
14 |
13 |
|
mMyTimedRunnable = new MyTimedRunnable( pRunner, pUnexpectedExceptionHandler ).initialize(); |
15 |
14 |
|
} |
|
@@ -72,8 +71,7 @@ |
72 |
71 |
|
public MyTimedRunnable( DelayedTimedRunnableRunner pRunner, UnexpectedExceptionHandler pUnexpectedExceptionHandler ) |
73 |
72 |
|
{ |
74 |
73 |
|
UtilsCommon.assertNotNull( "Runner", mRunner = pRunner ); |
75 |
|
- |
UtilsCommon.assertNotNull( "UnexpectedExceptionHandler", |
76 |
|
- |
mUnexpectedExceptionHandler = pUnexpectedExceptionHandler ); |
|
74 |
+ |
UtilsCommon.assertNotNull( "UnexpectedExceptionHandler", mUnexpectedExceptionHandler = pUnexpectedExceptionHandler ); |
77 |
75 |
|
} |
78 |
76 |
|
|
79 |
77 |
|
public MyTimedRunnable initialize() |
|
@@ -126,8 +124,7 @@ |
126 |
124 |
|
{ |
127 |
125 |
|
return Boolean.FALSE; |
128 |
126 |
|
} |
129 |
|
- |
DoubleLinkedListTimedRunnableNode found = |
130 |
|
- |
DoubleLinkedListTimedRunnableNode.locate( mHead, pTimedRunnable ); |
|
127 |
+ |
DoubleLinkedListTimedRunnableNode found = DoubleLinkedListTimedRunnableNode.locate( mHead, pTimedRunnable ); |
131 |
128 |
|
if ( found != null ) |
132 |
129 |
|
{ |
133 |
130 |
|
if ( found != mHead ) |