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 b6c2c596 Whitespace
b6c2c596 is described below

commit b6c2c5964f633298813cfa24204e8675ead2a968
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Oct 18 08:46:02 2024 -0400

    Whitespace
---
 src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java 
b/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java
index 9d4e46b1..e3403add 100644
--- a/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java
+++ b/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java
@@ -79,7 +79,6 @@ public class TextHelpAppendable extends FilterHelpAppendable {
         // handle case of width > text.
         // the line ends before the max wrap pos or a new line char found
         final int limit = Math.min(startPos + width, text.length() - 1);
-
         for (int idx = startPos; idx < limit; idx++) {
             if (BREAK_CHAR_SET.contains(text.charAt(idx))) {
                 return idx;
@@ -88,7 +87,6 @@ public class TextHelpAppendable extends FilterHelpAppendable {
         if (startPos + width >= text.length()) {
             return text.length();
         }
-
         int pos;
         // look for the last whitespace character before limit
         for (pos = limit; pos >= startPos; --pos) {

Reply via email to