Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/feature/master' into feature/master
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT2 committed Jan 12, 2020
2 parents c4609f2 + ab23c2a commit 26a777d
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,16 @@ private PrintWriter testAndGetLogWriter() {
return logWriter;
}


private void logWriterClose() {
if (logWriter != null) {
logWriter.close();
logWriter = null;
this.lastSetting = new LastSetting(); // what if the settings stay the same?
}

}

private void logWriterOpen() {
String filepath = getPath().toString();
try {
Expand Down Expand Up @@ -283,13 +293,6 @@ private boolean isInteger(String s) {
return true;
}

private void logWriterClose() {
if (logWriter != null) {
logWriter.close();
logWriter = null;
}
}

private void saveNewChunk(PrintWriter log, String data) {
log.println(data);
}
Expand Down

0 comments on commit 26a777d

Please sign in to comment.