geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r957285 - /geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java
Date Wed, 23 Jun 2010 17:55:17 GMT
Author: gawor
Date: Wed Jun 23 17:55:16 2010
New Revision: 957285

URL: http://svn.apache.org/viewvc?rev=957285&view=rev
Log:
GERONIMO-5397: New line fixes. Patch from Forrest Xia

Modified:
    geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java

Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java?rev=957285&r1=957284&r2=957285&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java
Wed Jun 23 17:55:16 2010
@@ -98,10 +98,11 @@ public class StreamConsoleReader impleme
     @Override
     public void println(String s) throws IOException {
         if (jlineConsoleEnabled) {
-            jlineConsoleReader.printNewline();
             jlineConsoleReader.printString(s);
+            jlineConsoleReader.printNewline();
         } else {
             console.println(s);
+            console.println();
         }
     }
 



Mime
View raw message