diff --git a/src/main/java/net/kemitix/node/NodeItem.java b/src/main/java/net/kemitix/node/NodeItem.java index 3afd79a..caa23e0 100644 --- a/src/main/java/net/kemitix/node/NodeItem.java +++ b/src/main/java/net/kemitix/node/NodeItem.java @@ -335,7 +335,7 @@ class NodeItem implements Node { } else if (!children.isEmpty()) { sb.append(formatByDepth(unnamed, depth)); } - getChildren().stream().forEach(c -> sb.append(c.drawTree(depth + 1))); + getChildren().forEach(c -> sb.append(c.drawTree(depth + 1))); return sb.toString(); }