diff options
Diffstat (limited to 'plugins/ui-designer/src/com/intellij/uiDesigner/propertyInspector/properties/BindingProperty.java')
-rw-r--r-- | plugins/ui-designer/src/com/intellij/uiDesigner/propertyInspector/properties/BindingProperty.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ui-designer/src/com/intellij/uiDesigner/propertyInspector/properties/BindingProperty.java b/plugins/ui-designer/src/com/intellij/uiDesigner/propertyInspector/properties/BindingProperty.java index d4ef25332a60..58306f72167a 100644 --- a/plugins/ui-designer/src/com/intellij/uiDesigner/propertyInspector/properties/BindingProperty.java +++ b/plugins/ui-designer/src/com/intellij/uiDesigner/propertyInspector/properties/BindingProperty.java @@ -97,7 +97,7 @@ public final class BindingProperty extends Property<RadComponent, String> { return; } - if (value.length() > 0 && !JavaPsiFacade.getInstance(component.getProject()).getNameHelper().isIdentifier(value)) { + if (value.length() > 0 && !PsiNameHelper.getInstance(component.getProject()).isIdentifier(value)) { throw new Exception("Value '" + value + "' is not a valid identifier"); } |