NodeItem: apply code style
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
This commit is contained in:
parent
9daebcea46
commit
58363e474d
1 changed files with 4 additions and 5 deletions
|
@ -148,8 +148,7 @@ public class NodeItem<T> implements Node<T> {
|
|||
throw new NullPointerException("descendants");
|
||||
}
|
||||
if (!descendants.isEmpty()) {
|
||||
findOrCreateChild(descendants.get(0))
|
||||
.createDescendantLine(
|
||||
findOrCreateChild(descendants.get(0)).createDescendantLine(
|
||||
descendants.subList(1, descendants.size()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue