Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 78532 invoked from network); 6 Oct 2008 03:29:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2008 03:29:15 -0000 Received: (qmail 62325 invoked by uid 500); 6 Oct 2008 03:29:13 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 62310 invoked by uid 500); 6 Oct 2008 03:29:13 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 62301 invoked by uid 99); 6 Oct 2008 03:29:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Oct 2008 20:29:13 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 03:28:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 94EF92388961; Sun, 5 Oct 2008 20:28:24 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081006032824.94EF92388961@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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; }