ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs UpToDate.java
Date Tue, 19 Dec 2000 01:51:44 GMT
jon         00/12/18 17:51:44

  Modified:    src/main/org/apache/tools/ant/taskdefs UpToDate.java
  Log:
  added patch by mariusz to fix NPE in UpToDate task
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/UpToDate.java
  
  Index: UpToDate.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/UpToDate.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UpToDate.java	2000/11/29 16:33:42	1.3
  +++ UpToDate.java	2000/12/19 01:51:43	1.4
  @@ -162,10 +162,10 @@
           if (mapperElement == null) {
               MergingMapper mm = new MergingMapper();
               mm.setTo(_targetFile.getAbsolutePath());
  +            mapper = mm;
           } else {
               mapper = mapperElement.getImplementation();
           }
  -        
           return sfs.restrict(files, srcDir, null, mapper).length == 0;
       }
   }
  
  
  

Mime
View raw message