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 c9c30c0  Fix Checktyle
c9c30c0 is described below

commit c9c30c0b7448449b495d600547ad72655ce0e0c3
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 9 18:00:32 2023 -0400

    Fix Checktyle
---
 src/main/java/org/apache/commons/cli/HelpFormatter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/cli/HelpFormatter.java 
b/src/main/java/org/apache/commons/cli/HelpFormatter.java
index 7a1b790..af68569 100644
--- a/src/main/java/org/apache/commons/cli/HelpFormatter.java
+++ b/src/main/java/org/apache/commons/cli/HelpFormatter.java
@@ -68,7 +68,7 @@ public class HelpFormatter {
     /**
      * This class implements the {@code Comparator} interface for comparing 
Options.
      */
-    private static class OptionComparator implements Comparator<Option>, 
Serializable {
+    private static final class OptionComparator implements Comparator<Option>, 
Serializable {
         /** The serial version UID. */
         private static final long serialVersionUID = 5305467873966684014L;
 

Reply via email to