From 70317c73841d3e83b4b8008b68bea95753a5275f Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 6 Aug 2012 22:47:59 +0200 Subject: Added @Value and @FieldDefaults implementations for javac and ecj, the annotations including @NonFinal and @PackagePrivate, and some refactors. No tests yet. --- src/utils/lombok/eclipse/Eclipse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/lombok') diff --git a/src/utils/lombok/eclipse/Eclipse.java b/src/utils/lombok/eclipse/Eclipse.java index c1bd95c3..301925d1 100644 --- a/src/utils/lombok/eclipse/Eclipse.java +++ b/src/utils/lombok/eclipse/Eclipse.java @@ -122,7 +122,7 @@ public class Eclipse { if (field.annotations == null) return EMPTY_ANNOTATIONS_ARRAY; for (Annotation annotation : field.annotations) { TypeReference typeRef = annotation.type; - if (typeRef != null && typeRef.getTypeName()!= null) { + if (typeRef != null && typeRef.getTypeName() != null) { char[][] typeName = typeRef.getTypeName(); String suspect = new String(typeName[typeName.length - 1]); if (namePattern.matcher(suspect).matches()) { -- cgit