Bug 105485 - "Overriden methods" rule ignores overriden interface methods
"Overriden methods" rule ignores overriden interface methods
Status: RESOLVED FIXED
Product: contrib
Classification: Unclassified
Component: Jackpot
6.x
All All
: P3 (vote)
: TBD
Assigned To: issues@contrib
issues@contrib
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-02 21:07 UTC by fordfrog
Modified: 2007-06-04 19:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fordfrog 2007-06-02 21:07:00 UTC
"Overriden methods" rule ignores implementations of interface methods during the
search and so it doesn't add @Override annotation to these methods. On the other
hand, when editing class implementing an interface, editor suggests to add
@Override annotation to methods implementing methods from interface so I suppose
the "Overriden methods" rule should add @Override annotation also to these
methods implementing methods from interfaces.
Comment 1 _ tball 2007-06-04 19:59:35 UTC
The Java 6 spec was updated to state that the Override annotation applies to
supertypes rather than just superclasses.  Thanks for catching this.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo