EA-33059 - NPE: RenameJavaVariableProcessor.prepareFieldRenaming
authorAnna Kozlova <anna.kozlova@jetbrains.com>
Wed, 1 Feb 2012 08:04:54 +0000 (12:04 +0400)
committerAnna Kozlova <anna.kozlova@jetbrains.com>
Wed, 1 Feb 2012 08:04:54 +0000 (12:04 +0400)
java/java-impl/src/com/intellij/refactoring/rename/RenameJavaVariableProcessor.java

index 3e67dbc119e4d06dce5bd4b802c2c803e8a22cbf..9c192e69d7a22089b106c1cd6bdd6c26622f4877 100644 (file)
@@ -191,6 +191,7 @@ public class RenameJavaVariableProcessor extends RenameJavaMemberProcessor {
         for (PsiMethod method : setter.findDeepestSuperMethods()) {
           if (method instanceof PsiCompiledElement) {
             setter = null;
+            shouldRenameSetterParameter = false;
             break;
           }
         }