From 483e23d3853aa37a19390019fcf0db97ac8bc1d4 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 22 Jul 2010 01:33:24 +0200 Subject: Added tests for ecj, fixed a few minor bugs that came out of that. --- src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/lombok/eclipse') diff --git a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java index 2142618f..e501c3f1 100644 --- a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java +++ b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java @@ -527,6 +527,7 @@ public class HandleEqualsAndHashCode implements EclipseAnnotationHandler other = (MyType) o; */ { if (!fields.isEmpty()) { LocalDeclaration other = new LocalDeclaration(otherN, pS, pE); + other.modifiers |= ClassFileConstants.AccFinal; Eclipse.setGeneratedBy(other, source); char[] typeName = typeDecl.name; Expression targetType; -- cgit