Fix Nullable declaration in PatternMatchUtils

This commit is contained in:
rstoyanchev
2025-04-23 12:20:32 +01:00
parent 2a3e7ea3f9
commit 838b4d67a5

View File

@@ -126,7 +126,7 @@ public abstract class PatternMatchUtils {
/**
* Variant of {@link #simpleMatch(String[], String)} that ignores upper/lower case.
*/
public static boolean simpleMatchIgnoreCase(@Nullable String[] patterns, @Nullable String str) {
public static boolean simpleMatchIgnoreCase(String @Nullable [] patterns, @Nullable String str) {
if (patterns != null) {
for (String pattern : patterns) {
if (simpleMatch(pattern, str, true)) {