From f87b6716bc6f85676d0aaf89bd670b6161e5373f Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Sat, 18 Feb 2023 23:10:57 +0100 Subject: [jdk20] Adds support for updated JCEnhancedForLoop --- src/core/lombok/javac/JavacAST.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/lombok/javac/JavacAST.java b/src/core/lombok/javac/JavacAST.java index c09120c1..8c5b66c5 100644 --- a/src/core/lombok/javac/JavacAST.java +++ b/src/core/lombok/javac/JavacAST.java @@ -516,7 +516,6 @@ public class JavacAST extends AST { private JavacNode buildEnhancedForLoop(JCEnhancedForLoop loop) { if (setAndGetAsHandled(loop)) return null; - List childNodes = new ArrayList(); // The order of the child elements is important and must be kept addIfNotNull(childNodes, buildTree(getVarOrRecordPattern(loop), Kind.STATEMENT)); -- cgit