ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/depend Depend.java
Date Wed, 12 Sep 2001 14:19:56 GMT
conor       01/09/12 07:19:56

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/depend Tag:
                        ANT_14_BRANCH Depend.java
  Log:
  Fix NPE in depend task
  
  PR:	3394
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.2   +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/depend/Depend.java
  
  Index: Depend.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/depend/Depend.java,v
  retrieving revision 1.8.2.1
  retrieving revision 1.8.2.2
  diff -u -w -u -r1.8.2.1 -r1.8.2.2
  --- Depend.java	2001/08/18 14:06:06	1.8.2.1
  +++ Depend.java	2001/09/12 14:19:55	1.8.2.2
  @@ -257,7 +257,7 @@
           classFileInfoMap = new Hashtable();
           boolean cacheDirty = false;
           
  -        Hashtable dependencyMap = null;
  +        Hashtable dependencyMap = new Hashtable();
           File depCacheFile = null;
           boolean depCacheFileExists = true;
           long depCacheFileLastModified = Long.MAX_VALUE;
  
  
  

Mime
View raw message