Bug 271254

Summary: The "source clean-up" function does not add @Override annotation to interface implementations
Product: [Eclipse Project] JDT Reporter: Michael Fairbank <michael.fairbank>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: juha.heljoranta, markus.kell.r
Version: 3.4.1   
Target Milestone: 3.6 M3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Michael Fairbank CLA 2009-04-05 17:06:58 EDT
Build ID: M20080911-1700

Steps To Reproduce:
1. Set compiler compliance to 1.6 and create an interface
2. Create a class that implements the above interface, and overrides one of the interfaces functions, but without the @Overrides annotation
3. Select the menu item "Source: clean-up", and ensure "Add missing '@Override' annotations" is selected.

bug: It doesn't add the @Override annotation where it should do.




More information:
Many thanks.  I guess this is an obvious bug, but I couldn't find a duplicate of it.
Comment 1 Markus Keller CLA 2009-09-04 06:54:44 EDT

*** This bug has been marked as a duplicate of bug 163194 ***
Comment 2 Markus Keller CLA 2009-09-23 13:03:03 EDT

*** This bug has been marked as a duplicate of bug 235750 ***
Comment 3 Frederic Fusier CLA 2009-10-26 10:47:32 EDT
Verified for 3.6M3 using build I20091025-2000