[TRIVIAL]

This commit is contained in:
Reinier Zwitserloot committed 2009-07-26 09:28:38 +02:00
1 parent a9d2989688
commit dfbc6a79e7
2 files changed
+2 -2

No files matched your search

@@ -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));
}
+1 -1
View File
@@ -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));
}