aboutsummaryrefslogtreecommitdiff
path: root/src/delombok/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/delombok/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/delombok/lombok')
-rwxr-xr-xsrc/delombok/lombok/delombok/Delombok.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delombok/lombok/delombok/Delombok.java b/src/delombok/lombok/delombok/Delombok.java
index 8d39f447..e4f17602 100755
--- a/src/delombok/lombok/delombok/Delombok.java
+++ b/src/delombok/lombok/delombok/Delombok.java
@@ -43,9 +43,9 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
-import java.util.HashSet;
import java.util.IdentityHashMap;
import java.util.LinkedHashMap;
+import java.util.LinkedHashSet;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
@@ -733,7 +733,7 @@ public class Delombok {
List<JCCompilationUnit> roots = new ArrayList<JCCompilationUnit>();
Map<JCCompilationUnit, File> baseMap = new IdentityHashMap<JCCompilationUnit, File>();
- Set<AbstractProcessor> processors = new HashSet<AbstractProcessor>();
+ Set<AbstractProcessor> processors = new LinkedHashSet<AbstractProcessor>();
processors.add(new lombok.javac.apt.LombokProcessor());
processors.addAll(additionalAnnotationProcessors);