aboutsummaryrefslogtreecommitdiff
path: root/src/delombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-24 06:20:02 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-24 06:22:15 +0100
commit52a31bc4ae2806907194d32567a820c670670357 (patch)
tree0c5322c9c41fffe091d72834d9e5981f077e6c7b /src/delombok
parent3d7754e269ec84604d43be97a684bb26b519c6b9 (diff)
downloadlombok-52a31bc4ae2806907194d32567a820c670670357.tar.gz
lombok-52a31bc4ae2806907194d32567a820c670670357.tar.bz2
lombok-52a31bc4ae2806907194d32567a820c670670357.zip
[records] [`@NonNull`] eclipse impl onfthe `@NonNull` on record components feature.
All tests passing.
Diffstat (limited to 'src/delombok')
-rw-r--r--src/delombok/lombok/delombok/PrettyPrinter.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/delombok/lombok/delombok/PrettyPrinter.java b/src/delombok/lombok/delombok/PrettyPrinter.java
index 8ce38c33..c46a3298 100644
--- a/src/delombok/lombok/delombok/PrettyPrinter.java
+++ b/src/delombok/lombok/delombok/PrettyPrinter.java
@@ -815,9 +815,6 @@ public class PrettyPrinter extends JCTree.Visitor {
boolean argsLessConstructor = false;
if (isConstructor && (tree.mods.flags & COMPACT_RECORD_CONSTRUCTOR) != 0) {
argsLessConstructor = true;
- for (JCVariableDecl param : tree.params) {
- if ((param.mods.flags & GENERATED_MEMBER) == 0) argsLessConstructor = false;
- }
}
boolean first = true;