aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/javac/handlers/HandleGetter.java
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/javac/handlers/HandleGetter.java
parenta9d29896887ee35903bcb847eb4307637801bcc2 (diff)
downloadlombok-dfbc6a79e79c1e070ad9d661a468199cffffddc1.tar.gz
lombok-dfbc6a79e79c1e070ad9d661a468199cffffddc1.tar.bz2
lombok-dfbc6a79e79c1e070ad9d661a468199cffffddc1.zip
[TRIVIAL]
Diffstat (limited to 'src/lombok/javac/handlers/HandleGetter.java')
-rw-r--r--src/lombok/javac/handlers/HandleGetter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/javac/handlers/HandleGetter.java b/src/lombok/javac/handlers/HandleGetter.java
index 81915169..3d3227e4 100644
--- a/src/lombok/javac/handlers/HandleGetter.java
+++ b/src/lombok/javac/handlers/HandleGetter.java
@@ -97,7 +97,7 @@ public class HandleGetter implements JavacAnnotationHandler<Getter> {
case EXISTS_BY_USER:
if ( whineIfExists ) {
String altNameExpl = "";
- if ( !altName.equals(methodName) ) altNameExpl = String.format("(%s)", altName);
+ if ( !altName.equals(methodName) ) altNameExpl = String.format(" (%s)", altName);
errorNode.addWarning(
String.format("Not generating %s(): A method with that name already exists%s", methodName, altNameExpl));
}