From f34f2a72009144f9689a2b1d24ea017198f5b9b9 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 20 Sep 2016 22:17:15 +0100 Subject: [PATCH] NodeItem: remove old constructors --- src/main/java/net/kemitix/node/NodeItem.java | 44 -------------------- 1 file changed, 44 deletions(-) diff --git a/src/main/java/net/kemitix/node/NodeItem.java b/src/main/java/net/kemitix/node/NodeItem.java index 86c66ed..b4a6eeb 100644 --- a/src/main/java/net/kemitix/node/NodeItem.java +++ b/src/main/java/net/kemitix/node/NodeItem.java @@ -67,50 +67,6 @@ class NodeItem implements Node { this.children.addAll(children); } - /** - * Create named root node. - * - * @param data the data or null - * @param name the name - */ - NodeItem(final T data, final String name) { - this(data); - this.name = name; - } - - /** - * Create unnamed root node. - * - * @param data the data or null - */ - NodeItem(final T data) { - this.data = data; - } - - /** - * Creates a node with a parent. - * - * @param data the data or null - * @param parent the parent node - */ - NodeItem(final T data, final Node parent) { - this.data = data; - setParent(parent); - } - - /** - * Creates a named node with a parent. - * - * @param data the data or null - * @param name the name - * @param parent the parent node - */ - NodeItem(final T data, final String name, final Node parent) { - this.data = data; - this.name = name; - setParent(parent); - } - @Override public String getName() { return name;