Skip to content

Commit 198838a

Browse files
committed
You can now extend HelpFormatter.Builder
1 parent 0e75c75 commit 198838a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<release version="1.9.0" date="YYYY-MM-DD" description="This release contains new features and bug fixes and requires Java 8 or above.">
2626
<!-- ADD -->
2727
<action type="add" dev="ggregory" due-to="Gary Gregory">Add OptionGroup.isSelected().</action>
28+
<action type="add" dev="ggregory" due-to="Gary Gregory">You can now extend HelpFormatter.Builder.</action>
2829
<!-- FIX -->
2930
<action type="fix" issue="CLI-334" dev="ggregory" due-to="Eric Pugh">Fix Javadoc pathing #280.</action>
3031
<action type="fix" issue="CLI-335" dev="ggregory" due-to="Claude Warren">Updated properties documentation #285.</action>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class HelpFormatter {
7171
*
7272
* @since 1.7.0
7373
*/
74-
public static final class Builder implements Supplier<HelpFormatter> {
74+
public static class Builder implements Supplier<HelpFormatter> {
7575
// TODO All other instance HelpFormatter instance variables.
7676
// Make HelpFormatter immutable for 2.0
7777

0 commit comments

Comments
 (0)