Skip to content

Commit

Permalink
Merge pull request #3564 from matsim-org/flushFacilitiesWriterAtEnd
Browse files Browse the repository at this point in the history
Flush FacilitiesWriter only at the end to reduce Filesize
  • Loading branch information
d-roeder authored Nov 18, 2024
2 parents 826595e + ecd5343 commit 7bdd540
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 7bdd540

Please sign in to comment.