From 8b283e89e9e96cf21428ce0ecbdc0699a26d4213 Mon Sep 17 00:00:00 2001 From: peichhorn Date: Fri, 30 Sep 2011 10:30:00 +0200 Subject: [issue #278]: Assigned final fields and @AllArgsConstructor In eclipse assigned final fields broke the @AllArgsConstructor. Now they are just skipped as intended. --- src/core/lombok/eclipse/handlers/HandleConstructor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/lombok/eclipse/handlers/HandleConstructor.java b/src/core/lombok/eclipse/handlers/HandleConstructor.java index 9af7a48c..6aca4ccc 100644 --- a/src/core/lombok/eclipse/handlers/HandleConstructor.java +++ b/src/core/lombok/eclipse/handlers/HandleConstructor.java @@ -131,7 +131,7 @@ public class HandleConstructor { if (!EclipseHandlerUtil.filterField(fieldDecl)) continue; // Skip initialized final fields. - if (((fieldDecl.modifiers & ClassFileConstants.AccFinal) != 0) && fieldDecl.initialization != null) return; + if (((fieldDecl.modifiers & ClassFileConstants.AccFinal) != 0) && fieldDecl.initialization != null) continue; fields.add(child); } -- cgit