aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorpeichhorn <peichhor@web.de>2011-09-30 10:30:00 +0200
committerpeichhorn <peichhor@web.de>2011-09-30 10:32:36 +0200
commit8b283e89e9e96cf21428ce0ecbdc0699a26d4213 (patch)
treedc3a147a6c8de3b716f1b57d6d6b4c62b9a3f373 /src/core
parent40fe2506274b812598763ad9a37153b277ffa21d (diff)
downloadlombok-8b283e89e9e96cf21428ce0ecbdc0699a26d4213.tar.gz
lombok-8b283e89e9e96cf21428ce0ecbdc0699a26d4213.tar.bz2
lombok-8b283e89e9e96cf21428ce0ecbdc0699a26d4213.zip
[issue #278]: Assigned final fields and @AllArgsConstructor
In eclipse assigned final fields broke the @AllArgsConstructor. Now they are just skipped as intended.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleConstructor.java2
1 files changed, 1 insertions, 1 deletions
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);
}