You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jeff Martin <je...@synamic.co.uk> on 2000/08/10 10:45:51 UTC

[PATCH] fixes null pointer in FileSet

Fixes null pointer which is thrown when the dir attribute is ommitted.


Index: src/main/org/apache/tools/ant/types/FileSet.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/types/FileSet.java
,v
retrieving revision 1.5
diff -r1.5 FileSet.java
188a189,191
>         if(dir==null){
>             throw new BuildException("dir not set.");
>         }