| Summary: | [extract method] Wrongly enabled checkbox | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> |
| Component: | UI | Assignee: | Benjamin Muskalla <b.muskalla> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | markus.kell.r |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | stalebug | ||
>introduced by fix for bug . bug 160853. See bug 285572 for the bad naming of that checkbox. It's only the checkbox enablement -- the refactoring is correct. For M2, unless the fix is really simple (which I doubt, since it requires the snippet finder to be run whenever the destination changes). Ping! Benny, any plans to work on this? This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
I20090803-1800, regression introduced by fix for bug . 1. paste into Package Explorer public class Foo { public void foo() { Object obj= new Object() { public String toString() { return "foo." + getName(); } }; String s= "foo." + getName(); } private String getName() {return "bar";} } 2. select first ""foo." + getName()" 3. extract method ==> dialog has the field to replace other occurrence enabled which is wrong