bodewig 2004/03/10 06:40:49 Modified: src/main/org/apache/tools/zip ZipOutputStream.java Log: Wrong condition in flush, submitted by Martijn Kruithof, PR: 27549 Revision Changes Path 1.22 +2 -2 ant/src/main/org/apache/tools/zip/ZipOutputStream.java Index: ZipOutputStream.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/zip/ZipOutputStream.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- ZipOutputStream.java 9 Mar 2004 16:48:55 -0000 1.21 +++ ZipOutputStream.java 10 Mar 2004 14:40:49 -0000 1.22 @@ -504,7 +504,7 @@ * @since 1.14 */ public void flush() throws IOException { - if (out == null) { + if (out != null) { out.flush(); } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]