Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 09CC2D8FD for ; Mon, 11 Feb 2013 10:15:15 +0000 (UTC) Received: (qmail 21207 invoked by uid 500); 11 Feb 2013 10:15:14 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 21125 invoked by uid 500); 11 Feb 2013 10:15:14 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 21088 invoked by uid 99); 11 Feb 2013 10:15:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 10:15:13 +0000 Date: Mon, 11 Feb 2013 10:15:13 +0000 (UTC) From: "Thomas Neidhart (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLI-224) OptionBuilder only has static methods, yet many return an OptionBuilder instance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLI-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Neidhart resolved CLI-224. --------------------------------- Resolution: Fixed Fix Version/s: 1.3 Applied patch in r1444720 with minor modifications (javadoc, formatting). Thanks for the patch! > OptionBuilder only has static methods, yet many return an OptionBuilder instance > -------------------------------------------------------------------------------- > > Key: CLI-224 > URL: https://issues.apache.org/jira/browse/CLI-224 > Project: Commons CLI > Issue Type: Bug > Components: CLI-1.x > Affects Versions: 1.2 > Reporter: Brian Blount > Fix For: 1.3 > > Attachments: commons-cli-CLI-224.patch, DefaultOptionBuilder.java, DefaultOptionBuilderTest.java > > > CLI-83 was closed as fixed in 2.0, but it seems that there is no current plan to release CLI 2.0. Could this fix be rolled into the 1.x line? I'm attaching a new version of option builder that addresses the issue (named DefaultOptionBuilder to maintain backwards compatability) and a unit test for it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira