diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-25 05:24:42 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-25 05:24:42 +0200 |
commit | 63894b98dd648ab5b83dd7bc57defb1dbcfd97ae (patch) | |
tree | 9fd7452d478427ddb03fc16cc3ccec2ca298c43c /src | |
parent | bcee5a50db361abe7468de74c79194d394c8229e (diff) | |
download | lombok-63894b98dd648ab5b83dd7bc57defb1dbcfd97ae.tar.gz lombok-63894b98dd648ab5b83dd7bc57defb1dbcfd97ae.tar.bz2 lombok-63894b98dd648ab5b83dd7bc57defb1dbcfd97ae.zip |
Heh, on errors you'd never actually see any message, just the exception type. Whoops.
Diffstat (limited to 'src')
-rw-r--r-- | src/lombok/javac/HandlerLibrary.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lombok/javac/HandlerLibrary.java b/src/lombok/javac/HandlerLibrary.java index ab5388d3..20cfed21 100644 --- a/src/lombok/javac/HandlerLibrary.java +++ b/src/lombok/javac/HandlerLibrary.java @@ -83,7 +83,7 @@ public class HandlerLibrary { } public void javacWarning(String message, Throwable t) { - messager.printMessage(Diagnostic.Kind.WARNING, message + t == null ? "" : (": " + t)); + messager.printMessage(Diagnostic.Kind.WARNING, message + (t == null ? "" : (": " + t))); } public void javacError(String message) { @@ -91,7 +91,7 @@ public class HandlerLibrary { } public void javacError(String message, Throwable t) { - messager.printMessage(Diagnostic.Kind.ERROR, message + t == null ? "" : (": " + t)); + messager.printMessage(Diagnostic.Kind.ERROR, message + (t == null ? "" : (": " + t))); } private static void loadVisitorHandlers(HandlerLibrary lib) { |