geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r701922 - /geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/java/org/apache/geronimo/gshell/commands/builtins/PrintfAction.java
Date Mon, 06 Oct 2008 03:28:24 GMT
Author: jdillon
Date: Sun Oct  5 20:28:24 2008
New Revision: 701922

URL: http://svn.apache.org/viewvc?rev=701922&view=rev
Log:
Use out.printf

Modified:
    geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/java/org/apache/geronimo/gshell/commands/builtins/PrintfAction.java

Modified: geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/java/org/apache/geronimo/gshell/commands/builtins/PrintfAction.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/java/org/apache/geronimo/gshell/commands/builtins/PrintfAction.java?rev=701922&r1=701921&r2=701922&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/java/org/apache/geronimo/gshell/commands/builtins/PrintfAction.java
(original)
+++ geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/java/org/apache/geronimo/gshell/commands/builtins/PrintfAction.java
Sun Oct  5 20:28:24 2008
@@ -44,7 +44,7 @@
         assert context != null;
         IO io = context.getIo();
 
-        io.out.print(String.format(format, arguments.toArray()));
+        io.out.printf(format, arguments.toArray());
         
         return Result.SUCCESS;
     }



Mime
View raw message