aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-08-17 08:23:51 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2021-08-17 08:23:51 +0200
commitee9b1128b49841c52a23e42a6e069477fd367db4 (patch)
tree4379de323ffb6a0bf082d48a7855e092f1ce068f /src/core/lombok
parente050dafc9016519e79184e383eab9ffbd579bebd (diff)
downloadlombok-ee9b1128b49841c52a23e42a6e069477fd367db4.tar.gz
lombok-ee9b1128b49841c52a23e42a6e069477fd367db4.tar.bz2
lombok-ee9b1128b49841c52a23e42a6e069477fd367db4.zip
[fixes #2907] Keep record compact constructor parameters
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/javac/handlers/HandleNonNull.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleNonNull.java b/src/core/lombok/javac/handlers/HandleNonNull.java
index fe66432a..271bedbb 100644
--- a/src/core/lombok/javac/handlers/HandleNonNull.java
+++ b/src/core/lombok/javac/handlers/HandleNonNull.java
@@ -99,7 +99,6 @@ public class HandleNonNull extends JavacAnnotationHandler<NonNull> {
return recursiveSetGeneratedBy(constr, source);
} else {
existingCtr.mods = mods;
- existingCtr.params = params.toList();
existingCtr.body = body;
existingCtr = recursiveSetGeneratedBy(existingCtr, source);
addSuppressWarningsAll(existingCtr.mods, typeNode, typeNode.getNodeFor(getGeneratedBy(existingCtr)), typeNode.getContext());