Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java
index 916858aab..bdc2cd539 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java
@@ -83,8 +83,6 @@ public class OutputStreamMonitor implements IBinaryStreamMonitor {
*/
private boolean fKilled = false;
- private long lastSleep;
-
private Charset fCharset;
private StreamDecoder fDecoder;
@@ -235,7 +233,7 @@ public class OutputStreamMonitor implements IBinaryStreamMonitor {
* publicly exposing a {@link Runnable#run()} method.
*/
private void internalRead() {
- lastSleep = System.currentTimeMillis();
+ long lastSleep = System.currentTimeMillis();
long currentTime = lastSleep;
byte[] buffer = new byte[BUFFER_SIZE];
int read = 0;

Back to the top