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
commit ef11f175aba987b4396b14bb7518870d6b048c8d Author: Gary Gregory <[email protected]> AuthorDate: Fri Oct 18 09:57:03 2024 -0400 Make org.apache.commons.cli.help.AbstractHelpFormatter.comparator final --- src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java b/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java index 71b69ab3..c62521eb 100644 --- a/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java +++ b/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java @@ -180,7 +180,7 @@ public abstract class AbstractHelpFormatter { public static final String DEFAULT_SYNTAX_PREFIX = "usage: "; /** The comparator for sorting {@link Option} collections */ - protected Comparator<Option> comparator; + protected final Comparator<Option> comparator; /** * The {@link HelpAppendable} that produces the final output. */
