Author: stevel
Date: Thu Nov  1 06:00:02 2007
New Revision: 590988

URL: http://svn.apache.org/viewvc?rev=590988&view=rev
Log:
make it impossible to have a null notify value
Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java?rev=590988&r1=590987&r2=590988&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java Thu Nov  1 
06:00:02 2007
@@ -54,7 +54,7 @@
      */
     public WorkerAnt(Task task, Object notify) {
         this.task = task;
-        this.notify = notify;
+        this.notify = notify != null ? notify : this;
     }
 
     /**
@@ -65,7 +65,6 @@
      */
     public WorkerAnt(Task task) {
         this(task,null);
-        notify = this;
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to