mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
[jdk20] Adds support for updated JCEnhancedForLoop
This commit is contained in:
1 parent
8c0081a806
commit
f87b6716bc
1 file changed
-1
@@ -516,7 +516,6 @@ public class JavacAST extends AST<JavacAST, JavacNode, JCTree> {
|
||||
|
||||
private JavacNode buildEnhancedForLoop(JCEnhancedForLoop loop) {
|
||||
if (setAndGetAsHandled(loop)) return null;
|
||||
|
||||
List<JavacNode> childNodes = new ArrayList<JavacNode>();
|
||||
// The order of the child elements is important and must be kept
|
||||
addIfNotNull(childNodes, buildTree(getVarOrRecordPattern(loop), Kind.STATEMENT));
|
||||
|
||||
Reference in new issue
Block a user