| Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/rename/RenameLocalVariableProcessor.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/rename/RenameLocalVariableProcessor.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/rename/RenameLocalVariableProcessor.java
|
| index 4da8bfb6a015b106efa4a2a1d21f8bfae1c68666..a2bb78d50a761a8fed6686808fcdee49f08af3cf 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/rename/RenameLocalVariableProcessor.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/rename/RenameLocalVariableProcessor.java
|
| @@ -46,7 +46,6 @@ import com.google.dart.tools.internal.corext.refactoring.util.Messages;
|
| import com.google.dart.tools.ui.internal.refactoring.RefactoringSaveHelper;
|
| import com.google.dart.tools.ui.internal.viewsupport.BasicElementLabels;
|
|
|
| -import org.eclipse.core.runtime.Assert;
|
| import org.eclipse.core.runtime.CoreException;
|
| import org.eclipse.core.runtime.IPath;
|
| import org.eclipse.core.runtime.IProgressMonitor;
|
| @@ -224,7 +223,6 @@ public class RenameLocalVariableProcessor extends DartRenameProcessor {
|
|
|
| private final CompilationUnit unit;
|
| private final String oldName;
|
| - private String newName;
|
| private DartUnit unitNode;
|
| private DartNode variableNode;
|
| private VariableElement variableElement;
|
| @@ -289,11 +287,6 @@ public class RenameLocalVariableProcessor extends DartRenameProcessor {
|
| }
|
|
|
| @Override
|
| - public String getNewElementName() {
|
| - return newName;
|
| - }
|
| -
|
| - @Override
|
| public String getProcessorName() {
|
| return RefactoringCoreMessages.RenameLocalVariableProcessor_name;
|
| }
|
| @@ -309,12 +302,6 @@ public class RenameLocalVariableProcessor extends DartRenameProcessor {
|
| }
|
|
|
| @Override
|
| - public void setNewElementName(String newName) {
|
| - Assert.isNotNull(newName);
|
| - this.newName = newName;
|
| - }
|
| -
|
| - @Override
|
| protected RefactoringStatus doCheckFinalConditions(IProgressMonitor pm,
|
| CheckConditionsContext context) throws CoreException, OperationCanceledException {
|
| try {
|
|
|