Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 35471 invoked by uid 500); 13 Jun 2002 09:48:51 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 35462 invoked by uid 500); 13 Jun 2002 09:48:51 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Date: 13 Jun 2002 09:48:49 -0000 Message-ID: <20020613094849.62624.qmail@icarus.apache.org> From: cziegeler@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/source/impl FileSource.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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