NodeItem: add deprecated to implementation of deprecated interface method

This commit is contained in:
Paul Campbell 2016-08-21 12:27:50 +01:00
parent e9b43cb73c
commit 2da1d9aa3d

View file

@ -235,6 +235,7 @@ public class NodeItem<T> implements Node<T> {
* @return the found or created child node * @return the found or created child node
*/ */
@Override @Override
@Deprecated
public Node<T> findOrCreateChild(final T child) { public Node<T> findOrCreateChild(final T child) {
if (child == null) { if (child == null) {
throw new NullPointerException("child"); throw new NullPointerException("child");