You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2006/10/06 23:08:10 UTC
svn commit: r453765 -
/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Restrict.java
Author: mbenson
Date: Fri Oct 6 14:08:10 2006
New Revision: 453765
URL: http://svn.apache.org/viewvc?view=rev&rev=453765
Log:
ignore null child collection, why not
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Restrict.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Restrict.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Restrict.java?view=diff&rev=453765&r1=453764&r2=453765
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Restrict.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Restrict.java Fri Oct 6 14:08:10 2006
@@ -63,6 +63,9 @@
if (isReference()) {
throw noChildrenAllowed();
}
+ if (c == null) {
+ return;
+ }
w.add(c);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org