One per line

This commit is contained in:
Sebb 2020-09-12 23:37:12 +01:00
parent 693e5129e8
commit 433700ea80
1 changed files with 3 additions and 2 deletions

View File

@ -5393,7 +5393,8 @@ public static String lowerCase(final String str, final Locale locale) {
} }
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 static String stripToNull(String str) {
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