diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-08-15 22:27:56 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-08-15 22:27:56 +0200 |
commit | b0ec7d5389e7b2e7b1ddf7c743f0ff093d55c1f1 (patch) | |
tree | a4d12cc5eac2c66051a8bd4f5510f5477f1e36f4 /src/core | |
parent | d4247f2e8b048d6cae83d5f93d59c7591309e65c (diff) | |
download | lombok-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.java | 5 |
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); } }; |