diff options
Diffstat (limited to 'java/java-impl/src/com/intellij/refactoring/inheritanceToDelegation/InheritanceToDelegationDialog.java')
-rw-r--r-- | java/java-impl/src/com/intellij/refactoring/inheritanceToDelegation/InheritanceToDelegationDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java-impl/src/com/intellij/refactoring/inheritanceToDelegation/InheritanceToDelegationDialog.java b/java/java-impl/src/com/intellij/refactoring/inheritanceToDelegation/InheritanceToDelegationDialog.java index b21204e55ef2..32e4992fe744 100644 --- a/java/java-impl/src/com/intellij/refactoring/inheritanceToDelegation/InheritanceToDelegationDialog.java +++ b/java/java-impl/src/com/intellij/refactoring/inheritanceToDelegation/InheritanceToDelegationDialog.java @@ -108,7 +108,7 @@ public class InheritanceToDelegationDialog extends RefactoringDialog { @Override protected void canRun() throws ConfigurationException { final String fieldName = getFieldName(); - final PsiNameHelper helper = JavaPsiFacade.getInstance(myProject).getNameHelper(); + final PsiNameHelper helper = PsiNameHelper.getInstance(myProject); if (!helper.isIdentifier(fieldName)){ throw new ConfigurationException("\'" + fieldName + "\' is invalid field name for delegation"); } |