[issue #278]: Assigned final fields and @AllArgsConstructor

In eclipse assigned final fields broke the @AllArgsConstructor. Now they are just skipped as intended.
This commit is contained in:
peichhorn committed 2011-09-30 10:32:36 +02:00
1 parent 40fe250627
commit 8b283e89e9
1 file changed
+1 -1
@@ -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);
}