From cf0f04d6a799b0b4ff91546edb4563961315a135 Mon Sep 17 00:00:00 2001 From: nathan Date: Sat, 15 Jul 2017 23:49:00 +0200 Subject: [PATCH] Code polish. Thread.notify -> notifyAll --- src/dorkbox/util/process/ProcessProxy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dorkbox/util/process/ProcessProxy.java b/src/dorkbox/util/process/ProcessProxy.java index 76e8032..a6f67d3 100644 --- a/src/dorkbox/util/process/ProcessProxy.java +++ b/src/dorkbox/util/process/ProcessProxy.java @@ -45,7 +45,7 @@ class ProcessProxy extends Thread { os.flush(); // this goes to the console, so we don't want to close it! } this.is.close(); - } catch (IOException e) { + } catch (IOException ignored) { } } @@ -91,7 +91,7 @@ class ProcessProxy extends Thread { os.flush(); synchronized (os) { - os.notify(); + os.notifyAll(); } } }