Node{Item}: undo line wraps

This commit is contained in:
Paul Campbell 2016-09-13 22:12:38 +01:00
parent 8aa8abe329
commit 915a63f1b0
2 changed files with 3 additions and 6 deletions

View file

@ -56,8 +56,7 @@ public interface Node<T> {
/**
* Fetch the data held within the node.
*
* @return an Optional containing the node's data, or empty if the node has
* none
* @return an Optional containing the node's data, or empty if the node has none
*/
Optional<T> getData();
@ -138,8 +137,7 @@ public interface Node<T> {
*
* @return the found or created child node
*
* @deprecated use {@code node.findChild(child).orElseGet(() ->
* node.createChild(child))};
* @deprecated use {@code node.findChild(child).orElseGet(() -> node.createChild(child))};
*/
@Deprecated
Node<T> findOrCreateChild(T child);

View file

@ -206,8 +206,7 @@ class NodeItem<T> implements Node<T> {
*
* @return the found or created child node
*
* @deprecated use node.findChild(child).orElseGet(() -> node.createChild
* (child));
* @deprecated use node.findChild(child).orElseGet(() -> node.createChild (child));
*/
@Override
@Deprecated