use LighterASTNodeList

This commit is contained in:
Maxim.Mossienko
2015-04-15 18:27:00 +02:00
parent f407dcdb6e
commit 490f835f0d
@@ -54,7 +54,7 @@ public class FCTSBackedLighterAST extends LighterAST {
}
LighterASTNode[] elements = into.get();
assert elements != null : myTreeStructure +" ("+parent+")";
return ContainerUtil.newArrayList(elements, 0, numKids);
return new LighterASTNodeList(numKids, elements);
}
public void disposeChildren(@NotNull List<LighterASTNode> children) {