Repository: karaf Updated Branches: refs/heads/master 555c315e6 -> caabefccc
[KARAF-2878] Revert this change as it breaks the console on Windows platform Project: http://git-wip-us.apache.org/repos/asf/karaf/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/caabefcc Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/caabefcc Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/caabefcc Branch: refs/heads/master Commit: caabefccc45f9282eb7834bf237712c59e5fc7d4 Parents: 555c315 Author: Jean-Baptiste Onofré <[email protected]> Authored: Mon Sep 1 14:03:14 2014 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Mon Sep 1 14:03:14 2014 +0200 ---------------------------------------------------------------------- .../apache/karaf/shell/impl/console/ConsoleSessionImpl.java | 6 ------ 1 file changed, 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf/blob/caabefcc/shell/core/src/main/java/org/apache/karaf/shell/impl/console/ConsoleSessionImpl.java ---------------------------------------------------------------------- diff --git a/shell/core/src/main/java/org/apache/karaf/shell/impl/console/ConsoleSessionImpl.java b/shell/core/src/main/java/org/apache/karaf/shell/impl/console/ConsoleSessionImpl.java index 275cbc1..380eab7 100644 --- a/shell/core/src/main/java/org/apache/karaf/shell/impl/console/ConsoleSessionImpl.java +++ b/shell/core/src/main/java/org/apache/karaf/shell/impl/console/ConsoleSessionImpl.java @@ -577,12 +577,6 @@ public class ConsoleSessionImpl implements Session { try { while (running) { try { - while (in.available() == 0) { - if (!running) { - return; - } - Thread.sleep(50); - } int c = in.read(); if (c == -1) { return;
