Community
Participate
Working Groups
Build id: M20050914-1235 When selecting in problem view quickfix for missing @Override annotation on some method, it will not check for the existence of the annotation. Thus, when autobuild is off, one may execute the same quickfix 10 times, and trigger 10 @Override annotation insertions.
How did you invoke the quick fix? From the problems view? When I try this in the editor, the first invocation of the quick fix solves the problem (squiggles go away) and no second invocation of the quick fix is possible.
Works correctly with I20100603-1500. Second invocation of quick fix is not possible.
Philippe said he invoked quick fix in the Problems view, and there, the bug is still reproducible. Same bug in the Java editor when you disable auto-build, save, close, and reopen the CU before invoking Quick Fix the second time.
> Philippe said he invoked quick fix in the Problems view, and there, the bug > is still reproducible. That scenario doesn't produce multiple @Override annotations any more, but the quick fix is still offered (and shows an info dialog when executed). Possible fixes: a) remove the marker when applying the quick fix b) add infrastructure to check whether original problem is still there, before applying the quick fix We could consider (a), but I think (b) would be too much work for too little interesting outcome. The workaround is to keep auto-build enabled. No plans to work on this for now.
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.