Browse Source

oops; introduced NPE

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592514 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 17 years ago
parent
commit
14b1d18621
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/main/org/apache/tools/ant/taskdefs/Touch.java

+ 3
- 0
src/main/org/apache/tools/ant/taskdefs/Touch.java View File

@@ -291,6 +291,9 @@ public class Touch extends Task {
touch(new FileResource(file.getParentFile(), file.getName()),
defaultTimestamp);
}
if (resources == null) {
return;
}
// deal with the resource collections
Iterator iter = resources.iterator();
while (iter.hasNext()) {


Loading…
Cancel
Save