You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2014/09/01 11:24:06 UTC
git commit: [KARAF-2878] Revert this change as it breaks the console
on Windows platform
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é <jb...@apache.org>
Authored: Mon Sep 1 11:23:32 2014 +0200
Committer: Jean-Baptiste Onofré <jb...@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)
{