ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javac.java
Date Wed, 02 Aug 2000 15:25:37 GMT
bodewig     00/08/02 08:25:34

  Modified:    src/main/org/apache/tools/ant/taskdefs Javac.java
  Log:
  Nested <src> element of <javac> would cause a NullPointerException.
  Reported by:	Paul A Bemowski <pbemowski@z-tel.com>
  
  Revision  Changes    Path
  1.29      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- Javac.java	2000/08/02 09:24:22	1.28
  +++ Javac.java	2000/08/02 15:25:33	1.29
  @@ -117,7 +117,7 @@
        * @return a nexted src element.
        */
       public Path createSrc() {
  -        if (src != null) {
  +        if (src == null) {
               src = new Path(project);
           }
           return src;
  
  
  

Mime
View raw message