fix for NPE
This commit is contained in:
parent
824f51f82e
commit
6be0becc61
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue