From 0ef67926087ed2a6878e8b1c32f387b135c1d3df Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 12 Jun 2009 08:35:43 +0200 Subject: For the strangest reason, compiling Getter with javac fails; it wants AccessLevel, but has AccessLevel. Yah, WTF. Turning AccessLevel into its FQN: lombok.AccessLevel fixes it. javac bug? --- src/lombok/Getter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lombok/Getter.java b/src/lombok/Getter.java index 5636c169..d6a10547 100644 --- a/src/lombok/Getter.java +++ b/src/lombok/Getter.java @@ -8,5 +8,5 @@ import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.CLASS) public @interface Getter { - AccessLevel value() default AccessLevel.PUBLIC; + AccessLevel value() default lombok.AccessLevel.PUBLIC; } -- cgit