Is there a compiler option for javac to compile without notes?
I know of:
-nowarn
: to not display warnings-g:none
: to generate no debugging info
Notes are still generated with both of these. Is there a compiler option to not generate notes, too?
By 'notes' I mean compiler output such as:
Note: Exercise.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
I use javac 1.7.0_40
.
-Xlint:unchecked
option. You should rather modify your code to remove unchecked operation. – PyxidiumXlint:unchecked
gives more details on content of note itself, which is not what I'm asking. – Gentlefolk