Skip to content

Commit 89080e2

Browse files
committed
[CLI-276] Adjust access-modifier of checkRequiredOptions() to protected.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1796363 13f79535-47bb-0310-9956-ffa450edef68
1 parent a41477b commit 89080e2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/changes/changes.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<action type="add" dev="britter" due-to="Christoph Läubrich" issue="CLI-271">
2727
CommandLine.getXXX and CommandLine.hasXXX should accept an Option as a parameter
2828
</action>
29+
<action type="add" dev="ggregory" due-to="Jason Dillon" issue="CLI-276">
30+
Adjust access-modifier of checkRequiredOptions() to protected.
31+
</action>
2932
</release>
3033

3134
<release version="1.4" date="2017-03-09" description="New features and bug fixes">

src/main/java/org/apache/commons/cli/DefaultParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ else if (!("yes".equalsIgnoreCase(value)
191191
* @throws MissingOptionException if any of the required Options
192192
* are not present.
193193
*/
194-
private void checkRequiredOptions() throws MissingOptionException
194+
protected void checkRequiredOptions() throws MissingOptionException
195195
{
196196
// if there are required options that have not been processed
197197
if (!expectedOpts.isEmpty())

0 commit comments

Comments
 (0)