Only hide NOTE messages in eclipse, still log errors and warnings

This commit is contained in:
Mumfrey committed 2015-01-16 15:59:56 +00:00
1 parent 1835c03ce0
commit 2ef7cad8a9
1 file changed
+1 -1
@@ -397,7 +397,7 @@ class AnnotatedMixins {
* Print a message to the AP messager
*/
public void printMessage(Diagnostic.Kind kind, CharSequence msg) {
if (this.env == CompilerEnvironment.JAVAC) {
if (this.env == CompilerEnvironment.JAVAC && kind != Kind.NOTE) {
this.processingEnv.getMessager().printMessage(kind, msg);
}
}