This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new 198838a  You can now extend HelpFormatter.Builder
198838a is described below

commit 198838a546f6b870a82db4a690e906ebdc6bd70c
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jul 21 08:13:42 2024 -0400

    You can now extend HelpFormatter.Builder
---
 src/changes/changes.xml                                 | 1 +
 src/main/java/org/apache/commons/cli/HelpFormatter.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 213e191..d5ff65b 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -25,6 +25,7 @@
     <release version="1.9.0" date="YYYY-MM-DD" description="This release 
contains new features and bug fixes and requires Java 8 or above.">
       <!-- ADD -->
       <action type="add" dev="ggregory" due-to="Gary Gregory">Add 
OptionGroup.isSelected().</action>
+      <action type="add" dev="ggregory" due-to="Gary Gregory">You can now 
extend HelpFormatter.Builder.</action>
       <!-- FIX -->
       <action type="fix" issue="CLI-334" dev="ggregory" due-to="Eric Pugh">Fix 
Javadoc pathing #280.</action>
       <action type="fix" issue="CLI-335" dev="ggregory" due-to="Claude 
Warren">Updated properties documentation #285.</action>
diff --git a/src/main/java/org/apache/commons/cli/HelpFormatter.java 
b/src/main/java/org/apache/commons/cli/HelpFormatter.java
index 1a09e95..8081fa9 100644
--- a/src/main/java/org/apache/commons/cli/HelpFormatter.java
+++ b/src/main/java/org/apache/commons/cli/HelpFormatter.java
@@ -71,7 +71,7 @@ public class HelpFormatter {
      *
      * @since 1.7.0
      */
-    public static final class Builder implements Supplier<HelpFormatter> {
+    public static class Builder implements Supplier<HelpFormatter> {
         // TODO All other instance HelpFormatter instance variables.
         // Make HelpFormatter immutable for 2.0
 

Reply via email to