aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-01-09 22:28:36 +0100
committerRoel Spilker <r.spilker@gmail.com>2012-01-09 22:28:36 +0100
commit57fbcc1a7e17712b46cfb8f6da4b3500d46aac6d (patch)
tree27d5ebecf2d663024482bd5113515fc46056751a /src
parent2ddf708b37f32e5c618927dd3e7dc8ac0e2e18d4 (diff)
downloadlombok-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.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 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()]);