garydgregory commented on code in PR #277:
URL: https://github.com/apache/commons-cli/pull/277#discussion_r1605818691


##########
src/main/java/org/apache/commons/cli/HelpFormatter.java:
##########
@@ -129,6 +129,16 @@ public Builder setShowDeprecated(final boolean 
useDefaultFormat) {
         }
     }
 
+    /**
+     * Gets the option description or an empty string if the description is 
{@code null}.
+     * @param option The option to get the description from.
+     * @return the option description or an empty string if the description is 
{@code null}.
+     * @since 2.17.0

Review Comment:
   The next version should be 1.8.0, not 2.17.0.
   Also, the new public method (if indeed it should be public, should it?) 
needs its own `@Test` method (IMO).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to