Skip to content

Commit ef11f17

Browse files
committed
Make org.apache.commons.cli.help.AbstractHelpFormatter.comparator final
1 parent 9f5a4d9 commit ef11f17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public B setOptionGroupSeparator(final String optionGroupSeparator) {
180180
public static final String DEFAULT_SYNTAX_PREFIX = "usage: ";
181181

182182
/** The comparator for sorting {@link Option} collections */
183-
protected Comparator<Option> comparator;
183+
protected final Comparator<Option> comparator;
184184
/**
185185
* The {@link HelpAppendable} that produces the final output.
186186
*/

0 commit comments

Comments
 (0)