You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/08/14 15:25:59 UTC

[commons-cli] branch master updated: Javadoc clean up

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 4384414  Javadoc clean up
4384414 is described below

commit 4384414639a7c49060a6d489368a4bea00484313
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Aug 14 11:25:55 2023 -0400

    Javadoc clean up
---
 src/main/java/org/apache/commons/cli/Util.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/cli/Util.java b/src/main/java/org/apache/commons/cli/Util.java
index ed47ba3..fff1005 100644
--- a/src/main/java/org/apache/commons/cli/Util.java
+++ b/src/main/java/org/apache/commons/cli/Util.java
@@ -28,10 +28,9 @@ final class Util {
     static final String[] EMPTY_STRING_ARRAY = {};
 
     /**
-     * Remove the leading and trailing quotes from {@code str}. E.g. if str is '"one two"', then 'one two' is returned.
+     * Removes the leading and trailing quotes from {@code str}. E.g. if str is '"one two"', then 'one two' is returned.
      *
      * @param str The string from which the leading and trailing quotes should be removed.
-     *
      * @return The string without the leading and trailing quotes.
      */
     static String stripLeadingAndTrailingQuotes(String str) {
@@ -44,10 +43,9 @@ final class Util {
     }
 
     /**
-     * Remove the hyphens from the beginning of {@code str} and return the new String.
+     * Removes the hyphens from the beginning of {@code str} and return the new String.
      *
      * @param str The string from which the hyphens should be removed.
-     *
      * @return the new String.
      */
     static String stripLeadingHyphens(final String str) {