Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 49846 invoked from network); 19 Jun 2010 20:22:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Jun 2010 20:22:46 -0000 Received: (qmail 33083 invoked by uid 500); 19 Jun 2010 20:22:45 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 32867 invoked by uid 500); 19 Jun 2010 20:22:44 -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 32858 invoked by uid 99); 19 Jun 2010 20:22:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jun 2010 20:22:44 +0000 X-ASF-Spam-Status: No, hits=-1532.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jun 2010 20:22:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5JKMNfU009310 for ; Sat, 19 Jun 2010 20:22:24 GMT Message-ID: <18961263.96421276978943766.JavaMail.jira@thor> Date: Sat, 19 Jun 2010 16:22:23 -0400 (EDT) From: "Emmanuel Bourg (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (CLI-187) OptionBuilder working incorrectly at first Invocation of create(...) In-Reply-To: <309170996.1249114454787.JavaMail.jira@brutus> 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-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Bourg updated CLI-187: ------------------------------- Fix Version/s: 1.3 Affects Version/s: 1.1 (was: 1.3) > OptionBuilder working incorrectly at first Invocation of create(...) > -------------------------------------------------------------------- > > Key: CLI-187 > URL: https://issues.apache.org/jira/browse/CLI-187 > Project: Commons CLI > Issue Type: Bug > Components: Options definition > Affects Versions: 1.1 > Reporter: Kristoff Kiefer > Priority: Minor > Fix For: 1.3 > > Attachments: OptionBuilder.patch > > > OptionBuilder is working incorrectly when invoked for the first time. Since "argName" is null the arg-text will not be initialized for the first option created. argName is set on the call to reset() though. > So after the first Option created OptionBuilder works fine. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.