Repository: karaf Updated Branches: refs/heads/karaf-2.x 4bc28ef91 -> 726ad8f5d
[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/726ad8f5 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/726ad8f5 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/726ad8f5 Branch: refs/heads/karaf-2.x Commit: 726ad8f5d10ef6976457d2df1d4c6937dfaa4ae3 Parents: 4bc28ef Author: Jean-Baptiste Onofré <[email protected]> Authored: Mon Sep 1 11:33:55 2014 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Mon Sep 1 11:33:55 2014 +0200 ---------------------------------------------------------------------- .../java/org/apache/karaf/shell/console/jline/Console.java | 6 ------ 1 file changed, 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf/blob/726ad8f5/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java ---------------------------------------------------------------------- diff --git a/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java b/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java index b9b2e40..9ab8fda 100644 --- a/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java +++ b/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java @@ -602,12 +602,6 @@ public class Console implements Runnable { try { - while (in.available() == 0) { - if (!running) { - return; - } - Thread.sleep(50); - } int c = in.read(); if (c == -1) {
