mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
automatic variables renaming when turning refs to super and extracting supers
This commit is contained in:
@@ -57,7 +57,8 @@ public abstract class TurnRefsToSuperProcessorBase extends BaseRefactoringProces
|
||||
}
|
||||
|
||||
myVariableRenamer = new AutomaticVariableRenamer(myClass, mySuperClassName, filtered);
|
||||
if (myVariableRenamer.hasAnythingToRename()) {
|
||||
if (!ApplicationManager.getApplication().isUnitTestMode() &&
|
||||
myVariableRenamer.hasAnythingToRename()) {
|
||||
final AutomaticRenamingDialog dialog = new AutomaticRenamingDialog(myProject, myVariableRenamer);
|
||||
dialog.show();
|
||||
if (!dialog.isOK()) return false;
|
||||
|
||||
Reference in New Issue
Block a user