[jira] Commented: (CLI-137) Change of behaviour 1.0 - 1.1

2007-07-23 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514577 ] Brian Egge commented on CLI-137: In 1.1, the hasArg() set the number of expected values to '1'. Apparently, in 1.0 it

[jira] Commented: (CLI-21) [cli] clone method in Option should use super.clone()

2007-06-16 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505435 ] Brian Egge commented on CLI-21: --- I think clearing the values would generally be useful, but I think copying them follows

[jira] Commented: (CLI-21) [cli] clone method in Option should use super.clone()

2007-06-13 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504139 ] Brian Egge commented on CLI-21: --- Properly supporting Cloneable is fairly trivial. Previously I submitted a patch which

[jira] Updated: (CLI-21) [cli] clone method in Option should use super.clone()

2007-06-13 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-21: -- Attachment: bug21.patch Add clone method back to Option. Includes test case with subclass. [cli] clone method

[jira] Updated: (CLI-131) Options class returns options in random order

2007-06-05 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-131: --- Attachment: bug131.patch Fix the issue by sorting the options inside the HelpFormatter class. This fix would

[jira] Updated: (CLI-131) Options class returns options in random order

2007-06-05 Thread Brian Egge (JIRA)
[ 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

[jira] Updated: (CLI-133) NullPointerException in Util.stripLeadingHyphens when passed a null argument

2007-06-05 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-133: --- Attachment: bug133.patch Proposed fix and test cases. NullPointerException in Util.stripLeadingHyphens when

[jira] Updated: (CLI-133) NullPointerException in Util.stripLeadingHyphens when passed a null argument

2007-06-05 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-133: --- Attachment: (was: bug133.patch) NullPointerException in Util.stripLeadingHyphens when passed a null

[jira] Updated: (CLI-133) NullPointerException in Util.stripLeadingHyphens when passed a null argument

2007-06-05 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-133: --- Attachment: bug133.patch Proposed fix and test cases. NullPointerException in Util.stripLeadingHyphens when

[jira] Created: (CLI-133) NullPointerException in Util.stripLeadingHyphens when passed a null argument

2007-06-05 Thread Brian Egge (JIRA)
NullPointerException in Util.stripLeadingHyphens when passed a null argument Key: CLI-133 URL: https://issues.apache.org/jira/browse/CLI-133 Project: Commons CLI

[jira] Updated: (CLI-131) Options class returns options in random order

2007-06-05 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-131: --- Attachment: bug131b.patch Fix two test cases which broke because of the change in ordering. Options class

[jira] Created: (CLI-131) Options class returns options in random order

2007-06-04 Thread Brian Egge (JIRA)
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

[jira] Updated: (CLI-131) Options class returns options in random order

2007-06-04 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-131: --- Attachment: bug131.patch Changed the HashMaps to LinkedHashMaps will preserve the insertion order. Fix and

[jira] Updated: (CLI-132) MissingOptionException should contain a useful error message

2007-06-04 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-132: --- Attachment: bug132.patch Test case and fix. MissingOptionException should contain a useful error message

[jira] Updated: (CLI-132) MissingOptionException should contain a useful error message

2007-06-04 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-132: --- Description: Most exception message contain a useful message string like Missing argument for option:. The

[jira] Created: (CLI-132) MissingOptionException should contain a useful error message

2007-06-04 Thread Brian Egge (JIRA)
MissingOptionException should contain a useful error message Key: CLI-132 URL: https://issues.apache.org/jira/browse/CLI-132 Project: Commons CLI Issue Type: Improvement

[jira] Commented: (CLI-131) Options class returns options in random order

2007-06-04 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501451 ] Brian Egge commented on CLI-131: CheckStyle uses the commons-cli and still supports Java 1.3, so I may need to have a

[jira] Commented: (CLI-71) [cli] A weakness of parser

2007-05-24 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498581 ] Brian Egge commented on CLI-71: --- I went down the clone route for quite a while, as this seemed to be the reasonable

[jira] Updated: (CLI-71) [cli] A weakness of parser

2007-05-24 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-71: -- Attachment: Cloneable.patch Here's all the work done for the clone able solution. If we later decide to go down

[jira] Updated: (CLI-71) [cli] A weakness of parser

2007-05-24 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-71: -- Attachment: CLI71_resetvalues.patch This is the minimal patch and tests. This uses the method of reset any values

[jira] Commented: (CLI-71) [cli] A weakness of parser

2007-05-24 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498586 ] Brian Egge commented on CLI-71: --- Sorry Henri - I didn't see the work you did on this issue a few hours ago before I

[jira] Commented: (CLI-51) [cli] Parameter value -something misinterpreted as a parameter

2007-05-20 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497328 ] Brian Egge commented on CLI-51: --- Has anyone had the chance to try out the updated patch for this issue? [cli] Parameter

[jira] Closed: (CLI-129) CLI_1_BRANCH build.xml doesn't work

2007-05-20 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge closed CLI-129. -- Resolution: Fixed Commit r538025 by bayard fixed this issue. CLI_1_BRANCH build.xml doesn't work

[jira] Updated: (CLI-51) [cli] Parameter value -something misinterpreted as a parameter

2007-05-15 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-51: -- Attachment: CL51.patch Updated patch. Removed incorrect license header; removed formatting changed; reverted

[jira] Commented: (CLI-38) [cli] HelpFormatter doesn't function correctly for options with only LongOpt

2007-05-15 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496141 ] Brian Egge commented on CLI-38: --- Below is a test which shows this issue is fixed. (Issue is closed, so I can't attach

[jira] Updated: (CLI-13) [cli] CommandLine.getOptionValue() behaves contrary to docs

2007-05-14 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-13: -- Attachment: CL13.patch Implemented hashCode and equals in the Option class, so CommandLine can just keep a set of

[jira] Commented: (CLI-129) CLI_1_BRANCH build.xml doesn't work

2007-05-14 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495818 ] Brian Egge commented on CLI-129: In this case, the AllTestSuites doesn't add a lot of value. In other projects I

[jira] Updated: (CLI-51) [cli] Parameter value -something misinterpreted as a parameter

2007-05-13 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-51: -- Attachment: CL51.patch Fix so parser doesn't burst options which are not defined. (-s) in the above case.

[jira] Updated: (CLI-129) CLI_1_BRANCH build.xml doesn't work

2007-05-13 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-129: --- Attachment: AllTestSuite.java Test suite which runs all tests. Useful for IDEs. CLI_1_BRANCH build.xml

[jira] Created: (CLI-129) CLI_1_BRANCH build.xml doesn't work

2007-05-12 Thread Brian Egge (JIRA)
CLI_1_BRANCH build.xml doesn't work --- Key: CLI-129 URL: https://issues.apache.org/jira/browse/CLI-129 Project: Commons CLI Issue Type: Bug Components: CLI-1.x Affects Versions: 1.1

[jira] Updated: (CLI-129) CLI_1_BRANCH build.xml doesn't work

2007-05-12 Thread Brian Egge (JIRA)
[ https://issues.apache.org/jira/browse/CLI-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Egge updated CLI-129: --- Attachment: build.xml.patch Patch for

[jira] Created: (LANG-321) [patch] Add toArray() method to IntRange and LongRange classes

2007-02-12 Thread Brian Egge (JIRA)
[patch] Add toArray() method to IntRange and LongRange classes -- Key: LANG-321 URL: https://issues.apache.org/jira/browse/LANG-321 Project: Commons Lang Issue Type: New Feature