mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix npe
This commit is contained in:
+5
-3
@@ -29,9 +29,11 @@ public abstract class JpsJavaDependenciesEnumerationHandler {
|
||||
}
|
||||
|
||||
public static boolean shouldProcessDependenciesRecursively(final List<JpsJavaDependenciesEnumerationHandler> handlers) {
|
||||
for (JpsJavaDependenciesEnumerationHandler handler : handlers) {
|
||||
if (!handler.shouldProcessDependenciesRecursively()) {
|
||||
return false;
|
||||
if (handlers != null) {
|
||||
for (JpsJavaDependenciesEnumerationHandler handler : handlers) {
|
||||
if (!handler.shouldProcessDependenciesRecursively()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user