Add warning for missing @Override annotation for interface implementation in Eclipse

后端 未结 4 889
傲寒
傲寒 2021-02-04 12:22

In Eclipse 3.4.1 using JDK1.6.0_10 how can I activate a warning on a missing @Override annotation on a method that implements an interface method?

In the P

4条回答
  •  南笙
    南笙 (楼主)
    2021-02-04 12:36

    The compatibility setting to 1.6 instead of 1.5 worked for me on: Eclipse Java EE IDE for Web Developers.

    Build id: 20100218-1602

提交回复
热议问题