Project: JDT
Bug 127661 Refactoring: status not updated upon changes in Introduce Indirection dialog
Reported: 2006-02-14 06:17:22 | Status: verified fixed

I20060214-0010 Status not updated upon changes in Introduce Indirection dialog when using the 'Browse...' button or selecting a class from the drop down. Test Case: 1. add CU Test.java with following source: public class Test { int foo() { return 2; } int useFoo() { return foo(); } } class P {} 2. select foo() in useFoo() 3. Refactor > Introduce Indirection ==> warning about duplicate foo() 4. use Browse... and select 'P' ==> warning stays. Same if another class is selected from the drop down.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceIndirectionInputPage.java