You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by st...@apache.org on 2007/11/01 14:00:03 UTC
svn commit: r590988 -
/ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java
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