One per line
This commit is contained in:
parent
693e5129e8
commit
433700ea80
|
@ -5393,7 +5393,8 @@ public class StringUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static int[] matches(final CharSequence first, final CharSequence second) {
|
private static int[] matches(final CharSequence first, final CharSequence second) {
|
||||||
CharSequence max, min;
|
CharSequence max;
|
||||||
|
CharSequence min;
|
||||||
if (first.length() > second.length()) {
|
if (first.length() > second.length()) {
|
||||||
max = first;
|
max = first;
|
||||||
min = second;
|
min = second;
|
||||||
|
@ -8430,7 +8431,7 @@ public class StringUtils {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
str = strip(str, null);
|
str = strip(str, null);
|
||||||
return str.isEmpty() ? null : str;
|
return str.isEmpty() ? null : str; // NOSONARLINT str cannot be null here
|
||||||
}
|
}
|
||||||
|
|
||||||
// Substring
|
// Substring
|
||||||
|
|
Loading…
Reference in New Issue