commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BELUGA BEHR (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLI-239) Patch: Required Options Not Using Generics
Date Wed, 03 Jul 2013 03:10:20 GMT

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

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

    Attachment: OptionGroup.java.patch
    
> 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: 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

Mime
View raw message