geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r576843 - /geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/IO.java
Date Tue, 18 Sep 2007 11:19:01 GMT
Author: jdillon
Date: Tue Sep 18 04:19:00 2007
New Revision: 576843

URL: http://svn.apache.org/viewvc?rev=576843&view=rev
Log:
Minor order change

Modified:
    geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/IO.java

Modified: geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/IO.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/IO.java?rev=576843&r1=576842&r2=576843&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/IO.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/IO.java
Tue Sep 18 04:19:00 2007
@@ -228,26 +228,26 @@
         }
     }
 
-    public void info(final String msg) {
-        if (!isQuiet()) {
+    public void verbose(final String msg) {
+        if (isVerbose()) {
             out.println(msg);
         }
     }
 
-    public void info(final String format, final Object... args) {
-        if (!isQuiet()) {
+    public void verbose(final String format, final Object... args) {
+        if (isVerbose()) {
             out.println(MessageFormatter.arrayFormat(format, args));
         }
     }
-
-    public void verbose(final String msg) {
-        if (isVerbose()) {
+    
+    public void info(final String msg) {
+        if (!isQuiet()) {
             out.println(msg);
         }
     }
 
-    public void verbose(final String format, final Object... args) {
-        if (isVerbose()) {
+    public void info(final String format, final Object... args) {
+        if (!isQuiet()) {
             out.println(MessageFormatter.arrayFormat(format, args));
         }
     }



Mime
View raw message