ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r590988 - /ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java
Date Thu, 01 Nov 2007 13:00:03 GMT
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message