diff options
author | Roel Spilker <r.spilker@gmail.com> | 2012-01-09 22:28:36 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2012-01-09 22:28:36 +0100 |
commit | 57fbcc1a7e17712b46cfb8f6da4b3500d46aac6d (patch) | |
tree | 27d5ebecf2d663024482bd5113515fc46056751a /src | |
parent | 2ddf708b37f32e5c618927dd3e7dc8ac0e2e18d4 (diff) | |
download | lombok-57fbcc1a7e17712b46cfb8f6da4b3500d46aac6d.tar.gz lombok-57fbcc1a7e17712b46cfb8f6da4b3500d46aac6d.tar.bz2 lombok-57fbcc1a7e17712b46cfb8f6da4b3500d46aac6d.zip |
Oops, used the wrong Argument
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleConstructor.java | 2 |
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 5b7cdcaa..5731769a 100644 --- a/src/core/lombok/eclipse/handlers/HandleConstructor.java +++ b/src/core/lombok/eclipse/handlers/HandleConstructor.java @@ -332,7 +332,7 @@ public class HandleConstructor { Annotation[] copiedAnnotations = copyAnnotations(source, findAnnotations(field, TransformationsUtil.NON_NULL_PATTERN), findAnnotations(field, TransformationsUtil.NULLABLE_PATTERN)); if (copiedAnnotations.length != 0) parameter.annotations = copiedAnnotations; - params.add(new Argument(field.name, fieldPos, copyType(field.type, source), Modifier.FINAL)); + params.add(parameter); } statement.arguments = assigns.isEmpty() ? null : assigns.toArray(new Expression[assigns.size()]); |