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

garydgregory 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 6f57cbe0 Sort members
6f57cbe0 is described below

commit 6f57cbe00e863a2754c4c7f0344640e27f39c494
Author: Gary Gregory <[email protected]>
AuthorDate: Thu May 21 20:44:48 2026 -0400

    Sort members
---
 .../org/apache/commons/cli/help/HelpFormatter.java | 30 +++++++++++-----------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/main/java/org/apache/commons/cli/help/HelpFormatter.java 
b/src/main/java/org/apache/commons/cli/help/HelpFormatter.java
index c9d5080b..890b7526 100644
--- a/src/main/java/org/apache/commons/cli/help/HelpFormatter.java
+++ b/src/main/java/org/apache/commons/cli/help/HelpFormatter.java
@@ -61,21 +61,6 @@ import org.apache.commons.cli.Option;
  */
 public class HelpFormatter extends AbstractHelpFormatter {
 
-    /**
-     * The default "Since" column label.
-     */
-    private static final String LABEL_SINCE = "Since";
-
-    /**
-     * The default "Description" column label.
-     */
-    private static final String LABEL_DESCRIPTION = "Description";
-
-    /**
-     * The default "Options" column label.
-     */
-    private static final String LABEL_OPTIONS = "Options";
-
     /**
      * A builder for the HelpFormatter. Intended to make more complex uses of 
the HelpFormatter class easier. Default values are:
      * <ul>
@@ -116,6 +101,21 @@ public class HelpFormatter extends AbstractHelpFormatter {
         }
     }
 
+    /**
+     * The default "Since" column label.
+     */
+    private static final String LABEL_SINCE = "Since";
+
+    /**
+     * The default "Description" column label.
+     */
+    private static final String LABEL_DESCRIPTION = "Description";
+
+    /**
+     * The default "Options" column label.
+     */
+    private static final String LABEL_OPTIONS = "Options";
+
     /**
      * Default number of characters per line: {@value}.
      */

Reply via email to