Project: JDT
Bug 77938 Move Instance Method shows referenced field twice in list [refactoring] [move]
Reported: 2004-11-05 07:14:43 | Status: resolved fixed

I200411042000 class C { Other fField; void method() { fField.toString(); } } class Other { } - 'Refactor > Move' on method() -> fField is shown twice in the list of possible targets

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/in/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/in/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/in/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/out/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/out/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/out/TR.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInstanceMethodWizard.java