aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse/handlers
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-07-27 11:00:31 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-07-27 11:00:31 +0200
commitbeb0213b012cde40cf839703e9103a9aad4ebddc (patch)
tree7f8013af7ed76ddebe2fb7713515960b6631b381 /src/lombok/eclipse/handlers
parent902607a6abb216a647c33ef8f1de957e7835c267 (diff)
downloadlombok-beb0213b012cde40cf839703e9103a9aad4ebddc.tar.gz
lombok-beb0213b012cde40cf839703e9103a9aad4ebddc.tar.bz2
lombok-beb0213b012cde40cf839703e9103a9aad4ebddc.zip
[TRIVIAL]
Diffstat (limited to 'src/lombok/eclipse/handlers')
-rw-r--r--src/lombok/eclipse/handlers/HandleToString.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lombok/eclipse/handlers/HandleToString.java b/src/lombok/eclipse/handlers/HandleToString.java
index b18906a5..4cafebb5 100644
--- a/src/lombok/eclipse/handlers/HandleToString.java
+++ b/src/lombok/eclipse/handlers/HandleToString.java
@@ -104,7 +104,7 @@ public class HandleToString implements EclipseAnnotationHandler<ToString> {
try {
callSuper = ((Boolean)ToString.class.getMethod("callSuper").getDefaultValue()).booleanValue();
} catch ( Exception ignore ) {}
- generateToString(typeNode, errorNode, Collections.<String>emptyList(),includeFieldNames, callSuper, false);
+ generateToString(typeNode, errorNode, Collections.<String>emptyList(), includeFieldNames, callSuper, false);
}
public boolean handle(AnnotationValues<ToString> annotation, Annotation ast, Node annotationNode) {
@@ -137,7 +137,7 @@ public class HandleToString implements EclipseAnnotationHandler<ToString> {
FieldDeclaration fieldDecl = (FieldDeclaration) child.get();
//Skip static fields.
if ( (fieldDecl.modifiers & ClassFileConstants.AccStatic) != 0 ) continue;
- //Skip excluded fields
+ //Skip excluded fields.
if ( excludes.contains(new String(fieldDecl.name)) ) continue;
nodesForToString.add(child);
}