Project: JDT
Bug 33454 SelectionState init() method creates an ArrayList which is never used
Reported: 2003-02-27 12:07:26 | Status: resolved fixed

HEAD contents of org.eclipse.jdt.ui: org.eclipse.jdt.internal.ui.refactoring.RefactoringSupport.AbstractRenameSupport.SelectionState.init() defined the following local variable which is never read. List parts = new ArrayList(); STEPS TO REPRODUCE: Compile your code with error on unused locals. You will find another error in: org.eclipse.jdt.internal.ui.refactoring.changes.ChangeExceptionHandler.RefactorErrorDialog.createMessageArea(...) and: org.eclipse.jdt.internal.ui.refactoring.RefactoringWizardDialog2.showErrorDialog(...). The status is never used.

Files changed in fix:
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringSupport.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringWizardDialog2.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/changes/ChangeExceptionHandler.java