cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/source/impl FileSource.java
Date Thu, 13 Jun 2002 09:48:49 GMT
cziegeler    2002/06/13 02:48:49

  Modified:    src/java/org/apache/cocoon/components/source/impl
                        FileSource.java
  Log:
  Changed file handling for output stream
  
  Revision  Changes    Path
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/source/impl/FileSource.java
  
  Index: FileSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/impl/FileSource.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FileSource.java	13 Jun 2002 09:44:18 -0000	1.4
  +++ FileSource.java	13 Jun 2002 09:48:49 -0000	1.5
  @@ -127,7 +127,7 @@
                       this.source.getFile().delete();
                   }
                   // Rename temp file to destination file
  -                tmpFile.renameTo(this.getFile().file);
  +                tmpFile.renameTo(this.source.getFile());
   
               } finally {
                   // Ensure temp file is deleted, ie lock is released.
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message