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
精彩评论