Code polish. Thread.notify -> notifyAll

This commit is contained in:
nathan 2017-07-15 23:49:00 +02:00
parent e8c42ae48d
commit cf0f04d6a7
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class ProcessProxy extends Thread {
os.flush(); // this goes to the console, so we don't want to close it! os.flush(); // this goes to the console, so we don't want to close it!
} }
this.is.close(); this.is.close();
} catch (IOException e) { } catch (IOException ignored) {
} }
} }
@ -91,7 +91,7 @@ class ProcessProxy extends Thread {
os.flush(); os.flush();
synchronized (os) { synchronized (os) {
os.notify(); os.notifyAll();
} }
} }
} }