mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-135051 NullPointerException when trying to open an old .ipr project with IDEA 14
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ public class JavacConfigurationMacroFilter extends PathMacroFilter {
|
||||
if (parent != null && "option".equals(parent.getName()) && "ADDITIONAL_OPTIONS_STRING".equals(parent.getAttributeValue("name"))) {
|
||||
Element grandParent = parent.getParentElement();
|
||||
return grandParent != null && grandParent.getName().equals("component")
|
||||
&& grandParent.getAttributeValue("name").equals("JavacSettings");
|
||||
&& "JavacSettings".equals(grandParent.getAttributeValue("name"));
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user