Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 7695 invoked from network); 19 Feb 2009 06:34:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2009 06:34:40 -0000 Received: (qmail 74365 invoked by uid 500); 19 Feb 2009 06:34:39 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 74309 invoked by uid 500); 19 Feb 2009 06:34:39 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 74300 invoked by uid 99); 19 Feb 2009 06:34:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 22:34:39 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Thu, 19 Feb 2009 06:34:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1085123889BB; Thu, 19 Feb 2009 06:34:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r745753 - /commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/bug/BugCLI162Test.java Date: Thu, 19 Feb 2009 06:34:17 -0000 To: commits@commons.apache.org From: bayard@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090219063418.1085123889BB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bayard Date: Thu Feb 19 06:34:17 2009 New Revision: 745753 URL: http://svn.apache.org/viewvc?rev=745753&view=rev Log: Getting rid of the unnecessary testPrintHelp method Modified: commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/bug/BugCLI162Test.java Modified: commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/bug/BugCLI162Test.java URL: http://svn.apache.org/viewvc/commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/bug/BugCLI162Test.java?rev=745753&r1=745752&r2=745753&view=diff ============================================================================== --- commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/bug/BugCLI162Test.java (original) +++ commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/bug/BugCLI162Test.java Thu Feb 19 06:34:17 2009 @@ -44,10 +44,6 @@ formatter.setWidth(20); formatter.printHelp("app", options); // used to hang & crash } - - private void testPrintHelp(Options options) throws ParseException, IOException { - new HelpFormatter().printHelp(this.getClass().getName(), options); - } public void testPrintHelpLongLines() throws ParseException, IOException { // Constants used for options @@ -233,7 +229,7 @@ "Converts the JDBC file in the first argument to an SMFD file specified in the second argument."); option.setArgs(2); commandLineOptions.addOption(option); - this.testPrintHelp(commandLineOptions); + new HelpFormatter().printHelp(this.getClass().getName(), options); } }