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
加载中,请稍侯......
精彩评论