Author: mbenson
Date: Tue Nov 6 10:29:37 2007
New Revision: 592514
URL:
http://svn.apache.org/viewvc?rev=592514&view=rev
Log:
oops; introduced NPE
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Touch.
java
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Touch.
java
URL: http://svn.apache.org/view
vc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Tou
ch.java?rev=592514&r1=592513&r2=592514&view=diff
============================================================
==================
---
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Touch.
java (original)
+++
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Touch.
java Tue Nov 6 10:29:37 2007
 -291,6
+291,9 
touch(new FileResource(file.getParentFile(),
file.getName()),
defaultTimestamp);
}
+ if (resources == null) {
+ return;
+ }
// deal with the resource collections
Iterator iter = resources.iterator();
while (iter.hasNext()) {
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|