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 2024/04/11 11:49:54 UTC

(commons-cli) 05/15: Whitespace

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

commit 0e1b14dffac8ba4bcc4a28cbc99259c050901432
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Apr 11 06:47:48 2024 -0400

    Whitespace
---
 src/main/java/org/apache/commons/cli/Option.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/main/java/org/apache/commons/cli/Option.java b/src/main/java/org/apache/commons/cli/Option.java
index 14ccdb7..f837bd4 100644
--- a/src/main/java/org/apache/commons/cli/Option.java
+++ b/src/main/java/org/apache/commons/cli/Option.java
@@ -820,28 +820,22 @@ public class Option implements Cloneable, Serializable {
         if (hasValueSeparator()) {
             // get the separator character
             final char sep = getValueSeparator();
-
             // store the index for the value separator
             int index = add.indexOf(sep);
-
             // while there are more value separators
             while (index != -1) {
                 // next value to be added
                 if (values.size() == argCount - 1) {
                     break;
                 }
-
                 // store
                 add(add.substring(0, index));
-
                 // parse
                 add = add.substring(index + 1);
-
                 // get new index
                 index = add.indexOf(sep);
             }
         }
-
         // store the actual value or the last value that has been parsed
         add(add);
     }