Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 67468 invoked from network); 5 Jun 2007 07:20:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2007 07:20:57 -0000 Received: (qmail 53242 invoked by uid 500); 5 Jun 2007 07:20:51 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 53127 invoked by uid 500); 5 Jun 2007 07:20:50 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 53103 invoked by uid 99); 5 Jun 2007 07:20:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2007 00:20:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2007 00:20:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3F1154297CC for ; Tue, 5 Jun 2007 00:20:26 -0700 (PDT) Message-ID: <24057493.1181028026250.JavaMail.jira@brutus> Date: Tue, 5 Jun 2007 00:20:26 -0700 (PDT) From: "Brian Egge (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Updated: (CLI-131) Options class returns options in random order In-Reply-To: <4774341.1181009186765.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLI-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-131: --------------------------- Attachment: (was: bug131.patch) > Options class returns options in random order > --------------------------------------------- > > Key: CLI-131 > URL: https://issues.apache.org/jira/browse/CLI-131 > Project: Commons CLI > Issue Type: Improvement > Components: CLI-1.x > Affects Versions: 1.0, 1.1 > Reporter: Brian Egge > Priority: Minor > Fix For: 1.1 > > Attachments: bug131.patch > > > The help formatter auto usage returns the options in a somewhat random order. This is because the options are inserted in a HashMap, and then a copy of the collection is returned with the getOptions() method. > The getOptions method should return the options in the order they were added, or in a sorted order. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org