Community
Participate
Working Groups
Build Identifier: 20100617-1415 When moving a method that overrides/implements another one (asking to keep the original method as a delegate to the new one), the @Override remains on the new method. Reproducible: Always Steps to Reproduce: 1. Create a class with the below code 2. Trigger "Move..." refactoring on someMethod 3. Choose to move the method to someField and "Keep the original method as a delegate to the moved method" 4. The resulting code does not compile because the new method has the @Override annotation. public class MoveMethodWithOverride implements MyInterface { OtherClass someField; @Override public void someMethod() { } } interface MyInterface { void someMethod(); } class OtherClass { }
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.