Browse Source

Wrong condition in flush, submitted by Martijn Kruithof, PR: 27549

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276217 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
cfc35789fc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/zip/ZipOutputStream.java

+ 1
- 1
src/main/org/apache/tools/zip/ZipOutputStream.java View File

@@ -504,7 +504,7 @@ public class ZipOutputStream extends FilterOutputStream {
* @since 1.14
*/
public void flush() throws IOException {
if (out == null) {
if (out != null) {
out.flush();
}
}


Loading…
Cancel
Save