[ 
https://issues.apache.org/jira/browse/CLI-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated CLI-239:
----------------------------

    Attachment: DefaultParser.java
    
> Patch: Required Options Not Using Generics
> ------------------------------------------
>
>                 Key: CLI-239
>                 URL: https://issues.apache.org/jira/browse/CLI-239
>             Project: Commons CLI
>          Issue Type: Improvement
>            Reporter: BELUGA BEHR
>            Priority: Trivial
>         Attachments: DefaultParser.java.patch, OptionGroup.java.patch, 
> Options.java.patch
>
>
> The way in which required options were being handled involved a list blended 
> with Options and Strings.  I have simplified the process and now the list 
> only contains Options.
> With this patch, OptionGroup now enforces that all Option objects added to it 
> match its own "required" level.
> The unit tests are broken with these changes though.

--
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

Reply via email to