[
https://issues.apache.org/jira/browse/CLI-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory resolved CLI-276.
------------------------------
Resolution: Fixed
Fix Version/s: 1.5
Hi Jason,
Thank you for the patch.
In SVN trunk. Please verify and close.
{noformat}
commit -m "[CLI-276] Adjust access-modifier of checkRequiredOptions() to
protected." -N
C:/vcs/svn/apache/commons/trunks-proper/cli/src/changes/changes.xml
C:/vcs/svn/apache/commons/trunks-proper/cli/src/main/java/org/apache/commons/cli/DefaultParser.java
Sending
C:/vcs/svn/apache/commons/trunks-proper/cli/src/changes/changes.xml
Sending
C:/vcs/svn/apache/commons/trunks-proper/cli/src/main/java/org/apache/commons/cli/DefaultParser.java
Transmitting file data ...
Unknown action received: commit finalizing
Committed revision 1796363.
{noformat}
Gary
> Adjust access-modifier of checkRequiredOptions() to protected
> -------------------------------------------------------------
>
> Key: CLI-276
> URL: https://issues.apache.org/jira/browse/CLI-276
> Project: Commons CLI
> Issue Type: Improvement
> Components: CLI-1.x
> Affects Versions: 1.4
> Reporter: Jason Dillon
> Fix For: 1.5
>
>
> ... for parity with GnuParser, PosixParser and Parser impls to allow
> sub-class a bit more control.
> I have a use-case in which needs to defer the required-options check, which
> is doable with GnuParser and PosixParser, but the new DefaultParser doesn't
> allow this due to a private access-modifier on checkRequiredOptions().
> https://github.com/apache/commons-cli/pull/11
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)