karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject git commit: [KARAF-2878] Revert this change as it breaks the console on Windows platform
Date Mon, 01 Sep 2014 09:24:06 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-2.3.x 8b220cec3 -> 71e9ab96d


[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/71e9ab96
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/71e9ab96
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/71e9ab96

Branch: refs/heads/karaf-2.3.x
Commit: 71e9ab96d93f81ce8707eb43a12d4010e8b678e4
Parents: 8b220ce
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Mon Sep 1 11:23:32 2014 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Mon Sep 1 11:23:32 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/71e9ab96/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 5c179b0..d4b68e2 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
@@ -465,12 +465,6 @@ public class Console implements Runnable
                 {
                     try
                     {
-                        while (in.available() == 0) {
-                            if (!running) {
-                                return;
-                            }
-                            Thread.sleep(50);
-                        }
                         int c = in.read();
                         if (c == -1)
                         {


Mime
View raw message