fix for NPE

This commit is contained in:
Grahame Grieve 2023-03-14 21:28:37 +11:00
parent 824f51f82e
commit 6be0becc61
1 changed files with 5 additions and 3 deletions

View File

@ -1422,10 +1422,12 @@ public class Utilities {
return false; return false;
} }
for (String l : list) { for (String l : list) {
if (l != null) {
if (s.startsWith(l)) { if (s.startsWith(l)) {
return true; return true;
} }
} }
}
return false; return false;
} }