mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 12:15:00 +00:00
Heh, on errors you'd never actually see any message, just the exception type. Whoops.
This commit is contained in:
1 parent
bcee5a50db
commit
63894b98dd
1 file changed
+2
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user