diff --git a/src/main/java/net/kemitix/node/Node.java b/src/main/java/net/kemitix/node/Node.java index 2dae709..002bead 100644 --- a/src/main/java/net/kemitix/node/Node.java +++ b/src/main/java/net/kemitix/node/Node.java @@ -7,8 +7,9 @@ import java.util.Set; /** * An interface for tree node items. * - * @author pcampbell * @param the type of data held in each node + * + * @author pcampbell */ public interface Node { @@ -21,7 +22,6 @@ public interface Node { /** * Fetch the parent node. - * *

* If the node is a root node, i.e. has no parent, then this will return * null. diff --git a/src/main/java/net/kemitix/node/NodeItem.java b/src/main/java/net/kemitix/node/NodeItem.java index 3e4186e..27ee22a 100644 --- a/src/main/java/net/kemitix/node/NodeItem.java +++ b/src/main/java/net/kemitix/node/NodeItem.java @@ -116,6 +116,7 @@ public class NodeItem implements Node { * Walks the node tree using the path to select each child. * * @param path the path to the desired child + * * @return the child or null */ @Override