mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
properties: check element is valid before return property (EA-99905)
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ public class ResourceBundlePropertyStructureViewElement implements StructureView
|
||||
}
|
||||
|
||||
public IProperty getProperty() {
|
||||
return myProperty;
|
||||
return myProperty.getPsiElement().isValid() ? myProperty : null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user