I had hard time to figure out how to use this annotation correctly. After some hacks, I found that
the warning message category is available in Eclipse's help document. Kudos to Alex Miller
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm
I used @SuppressWarnings("unused") to suppress unused local method (private, of course).
1 comment:
Checkstyle complains the @SuppressWarnings of serialization.
You can work this around by inserting two white spaces before and after the constant string "serial". It is wild, but works.
@SuppressWarnings({ "serial" })
public class ZorroException extends Exception {
...
}
Post a Comment