aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/javac
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-25 05:24:42 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-25 05:24:42 +0200
commit63894b98dd648ab5b83dd7bc57defb1dbcfd97ae (patch)
tree9fd7452d478427ddb03fc16cc3ccec2ca298c43c /src/lombok/javac
parentbcee5a50db361abe7468de74c79194d394c8229e (diff)
downloadlombok-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/lombok/javac')
-rw-r--r--src/lombok/javac/HandlerLibrary.java4
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) {