You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2020/09/12 22:39:01 UTC
[commons-lang] 02/02: One per line
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 4b5f1cf57dee74a23a6cb942b0acaa73150edc99
Author: Sebb <se...@apache.org>
AuthorDate: Sat Sep 12 23:38:51 2020 +0100
One per line
---
src/main/java/org/apache/commons/lang3/StringUtils.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 6956226..3089082 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -7907,7 +7907,8 @@ public class StringUtils {
return ArrayUtils.EMPTY_STRING_ARRAY;
}
final List<String> list = new ArrayList<>();
- int i = 0, start = 0;
+ int i = 0;
+ int start = 0;
boolean match = false;
boolean lastMatch = false;
while (i < len) {
@@ -7958,7 +7959,8 @@ public class StringUtils {
}
final List<String> list = new ArrayList<>();
int sizePlus1 = 1;
- int i = 0, start = 0;
+ int i = 0;
+ int start = 0;
boolean match = false;
boolean lastMatch = false;
if (separatorChars == null) {