aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/javac/JavacAST.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/javac/JavacAST.java b/src/core/lombok/javac/JavacAST.java
index 8c5b66c5..319d9dd2 100644
--- a/src/core/lombok/javac/JavacAST.java
+++ b/src/core/lombok/javac/JavacAST.java
@@ -516,6 +516,7 @@ 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));