Skip to content

Commit

Permalink
flush only at the end
Browse files Browse the repository at this point in the history
Otherwise, compression algorithms cannot reach their full potential
  • Loading branch information
d-roeder committed Nov 14, 2024
1 parent b8dbeb2 commit ce473fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ private void writeFacility(final ActivityFacilityImpl f) {
}
this.attributesWriter.writeAttributes("\t\t", this.writer, f.getAttributes(), false);
this.endFacility();
this.writer.flush();
} catch (IOException e) {
throw new UncheckedIOException(e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ private void writeFacility(final ActivityFacilityImpl f) {
}
this.attributesWriter.writeAttributes("\t\t", this.writer, f.getAttributes(), false);
this.endFacility();
this.writer.flush();
} catch (IOException e) {
throw new UncheckedIOException(e);
}
Expand Down

0 comments on commit ce473fa

Please sign in to comment.