ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/util FileUtils.java
Date Tue, 07 Aug 2001 05:49:48 GMT
bodewig     01/08/06 22:49:48

  Modified:    src/main/org/apache/tools/ant Project.java
               src/main/org/apache/tools/ant/taskdefs Copy.java Touch.java
               src/main/org/apache/tools/ant/util FileUtils.java
  Log:
  give a better name to FileUtil's factory method.
  
  Revision  Changes    Path
  1.71      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/Project.java
  
  Index: Project.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Project.java,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- Project.java	2001/08/06 14:10:42	1.70
  +++ Project.java	2001/08/07 05:49:48	1.71
  @@ -144,7 +144,7 @@
       private FileUtils fileUtils;
   
       public Project() {
  -        fileUtils = FileUtils.getFileUtils();
  +        fileUtils = FileUtils.newFileUtils();
       }
   
       /**
  
  
  
  1.19      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java
  
  Index: Copy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- Copy.java	2001/08/06 14:10:43	1.18
  +++ Copy.java	2001/08/07 05:49:48	1.19
  @@ -96,7 +96,7 @@
       private FileUtils fileUtils;
       
       public Copy() {
  -        fileUtils = FileUtils.getFileUtils();
  +        fileUtils = FileUtils.newFileUtils();
       }
   
       protected FileUtils getFileUtils() {return fileUtils;}
  
  
  
  1.10      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Touch.java
  
  Index: Touch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Touch.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Touch.java	2001/08/06 14:10:43	1.9
  +++ Touch.java	2001/08/07 05:49:48	1.10
  @@ -92,7 +92,7 @@
       private FileUtils fileUtils;
   
       public Touch() {
  -        fileUtils = FileUtils.getFileUtils();
  +        fileUtils = FileUtils.newFileUtils();
       }
   
       /**
  
  
  
  1.2       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/util/FileUtils.java
  
  Index: FileUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/util/FileUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FileUtils.java	2001/08/06 14:10:43	1.1
  +++ FileUtils.java	2001/08/07 05:49:48	1.2
  @@ -81,7 +81,7 @@
       /**
        * Factory method.
        */
  -    public static FileUtils getFileUtils() {
  +    public static FileUtils newFileUtils() {
           return new FileUtils();
       }
   
  
  
  

Mime
View raw message