aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-08-15 22:27:56 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-08-15 22:27:56 +0200
commitb0ec7d5389e7b2e7b1ddf7c743f0ff093d55c1f1 (patch)
treea4d12cc5eac2c66051a8bd4f5510f5477f1e36f4 /src/core
parentd4247f2e8b048d6cae83d5f93d59c7591309e65c (diff)
downloadlombok-b0ec7d5389e7b2e7b1ddf7c743f0ff093d55c1f1.tar.gz
lombok-b0ec7d5389e7b2e7b1ddf7c743f0ff093d55c1f1.tar.bz2
lombok-b0ec7d5389e7b2e7b1ddf7c743f0ff093d55c1f1.zip
Added error/warning to the printed messages.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lombok/core/DiagnosticsReceiver.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/lombok/core/DiagnosticsReceiver.java b/src/core/lombok/core/DiagnosticsReceiver.java
index 7e9acd80..2adfadaf 100644
--- a/src/core/lombok/core/DiagnosticsReceiver.java
+++ b/src/core/lombok/core/DiagnosticsReceiver.java
@@ -23,13 +23,12 @@ package lombok.core;
public interface DiagnosticsReceiver {
DiagnosticsReceiver CONSOLE = new DiagnosticsReceiver() {
-
@Override public void addError(String message) {
- System.err.println(message);
+ System.err.println("Error: " + message);
}
@Override public void addWarning(String message) {
- System.out.println(message);
+ System.out.println("Warning: " + message);
}
};