Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 575839

Summary: Duplicated @Override Annotation after Quickfix 'create method in superclass/interface'
Product: [Eclipse Project] JDT Reporter: Lukas Baron <baron_lukas>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: kenneth.styrberg, Vikas.Chandra
Version: 4.20   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Lukas Baron CLA 2021-09-06 11:05:48 EDT
first, this may be a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=443798, however, the bug applies to the java editor as well.

When adding an @Override-Annotation to a subclass' method and using the quickfix to create this method in a super-class thereafter causes the @Override annotation to be duplicated.
Comment 1 Vikas Chandra CLA 2021-09-07 01:34:38 EDT
Moved jdt.ui for initial investigation.
Comment 2 Kenneth Styrberg CLA 2021-09-07 01:57:22 EDT
Duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=574610
Comment 3 Noopur Gupta CLA 2021-09-07 02:26:50 EDT

*** This bug has been marked as a duplicate of bug 574610 ***