开发者

configure java compiler so that it gives an error on missing annotations

how can i configure the jav开发者_开发技巧ac compiler to give an error instead of a warning when an annotation like @Override is missing?

it should work on java 5.


You can use the -Werror option with JDK 6.


On the same topic :

  • Javac: Treat warnings as errors
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜