From 915a63f1b0c8155670273297cf5ca05979423168 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 13 Sep 2016 22:12:38 +0100 Subject: [PATCH] Node{Item}: undo line wraps --- src/main/java/net/kemitix/node/Node.java | 6 ++---- src/main/java/net/kemitix/node/NodeItem.java | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/net/kemitix/node/Node.java b/src/main/java/net/kemitix/node/Node.java index 50f75a0..b00bf67 100644 --- a/src/main/java/net/kemitix/node/Node.java +++ b/src/main/java/net/kemitix/node/Node.java @@ -56,8 +56,7 @@ public interface Node { /** * 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 getData(); @@ -138,8 +137,7 @@ public interface Node { * * @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 findOrCreateChild(T child); diff --git a/src/main/java/net/kemitix/node/NodeItem.java b/src/main/java/net/kemitix/node/NodeItem.java index 92eb923..5d83553 100644 --- a/src/main/java/net/kemitix/node/NodeItem.java +++ b/src/main/java/net/kemitix/node/NodeItem.java @@ -206,8 +206,7 @@ class NodeItem implements Node { * * @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