aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse/handlers
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-07-26 09:28:38 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-07-26 09:28:38 +0200
commitdfbc6a79e79c1e070ad9d661a468199cffffddc1 (patch)
treeed168fe09e266fae7c54975ff3119a1b2ef7dfe4 /src/lombok/eclipse/handlers
parenta9d29896887ee35903bcb847eb4307637801bcc2 (diff)
downloadlombok-dfbc6a79e79c1e070ad9d661a468199cffffddc1.tar.gz
lombok-dfbc6a79e79c1e070ad9d661a468199cffffddc1.tar.bz2
lombok-dfbc6a79e79c1e070ad9d661a468199cffffddc1.zip
[TRIVIAL]
Diffstat (limited to 'src/lombok/eclipse/handlers')
-rw-r--r--src/lombok/eclipse/handlers/HandleGetter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/eclipse/handlers/HandleGetter.java b/src/lombok/eclipse/handlers/HandleGetter.java
index efb37c35..652ad01f 100644
--- a/src/lombok/eclipse/handlers/HandleGetter.java
+++ b/src/lombok/eclipse/handlers/HandleGetter.java
@@ -101,7 +101,7 @@ public class HandleGetter implements EclipseAnnotationHandler<Getter> {
case EXISTS_BY_USER:
if ( whineIfExists ) {
String altNameExpl = "";
- if ( !altName.equals(getterName) ) altNameExpl = String.format("(%s)", altName);
+ if ( !altName.equals(getterName) ) altNameExpl = String.format(" (%s)", altName);
errorNode.addWarning(
String.format("Not generating %s(): A method with that name already exists%s", getterName, altNameExpl));
}