aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/javac/HandlerLibrary.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-09-15 20:57:52 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-09-15 20:57:52 +0200
commit62fa41e0eb4678e9569bfd9744bec06979e27c66 (patch)
tree60128e9d4761bbb995a74f34a32c5845e8b4e99d /src/lombok/javac/HandlerLibrary.java
parent02f8fbc13b7deff36e041d50d1de365d20bd192b (diff)
downloadlombok-62fa41e0eb4678e9569bfd9744bec06979e27c66.tar.gz
lombok-62fa41e0eb4678e9569bfd9744bec06979e27c66.tar.bz2
lombok-62fa41e0eb4678e9569bfd9744bec06979e27c66.zip
Binkley on the newsgroup spotted a bug in this code: the one-arg javacError method delegated to javacWarning instead of javacError. Fixed that little oversight.
Diffstat (limited to 'src/lombok/javac/HandlerLibrary.java')
-rw-r--r--src/lombok/javac/HandlerLibrary.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/javac/HandlerLibrary.java b/src/lombok/javac/HandlerLibrary.java
index ff21bd3f..20902e82 100644
--- a/src/lombok/javac/HandlerLibrary.java
+++ b/src/lombok/javac/HandlerLibrary.java
@@ -140,7 +140,7 @@ public class HandlerLibrary {
/** Generates an error in the Messager that was used to initialize this HandlerLibrary. */
public void javacError(String message) {
- javacWarning(message, null);
+ javacError(message, null);
}
/** Generates an error in the Messager that was used to initialize this HandlerLibrary. */