mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 16:17:34 +00:00
Oops, used the wrong Argument
This commit is contained in:
1 parent
2ddf708b37
commit
57fbcc1a7e
1 file changed
+1
-1
@@ -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()]);
|
||||
|
||||
Reference in new issue
Block a user