Browse Source

make it impossible to have a null notify value

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@590988 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 18 years ago
parent
commit
7da916d5b9
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/main/org/apache/tools/ant/util/WorkerAnt.java

+ 1
- 2
src/main/org/apache/tools/ant/util/WorkerAnt.java View File

@@ -54,7 +54,7 @@ public class WorkerAnt extends Thread {
*/
public WorkerAnt(Task task, Object notify) {
this.task = task;
this.notify = notify;
this.notify = notify != null ? notify : this;
}

/**
@@ -65,7 +65,6 @@ public class WorkerAnt extends Thread {
*/
public WorkerAnt(Task task) {
this(task,null);
notify = this;
}

/**


Loading…
Cancel
Save