Skip to content

Commit

Permalink
[jdk20] Adds support for updated JCEnhancedForLoop
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawi01 authored and rzwitserloot committed Mar 22, 2023
1 parent 8c0081a commit f87b671
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/lombok/javac/JavacAST.java
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ private Method getBodyMethod(Class<?> c) {

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));
Expand Down

0 comments on commit f87b671

Please sign in to comment.