aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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) {