Cleanup use of Guava library
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / tree / StoreTreeNode.java
index 33c635087945b2f21e2e9d751ee52a6293323894..541dc60a8b5936c75075049b3a46093c07e5ca42 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.yangtools.yang.data.api.schema.tree;
 
-import com.google.common.base.Optional;
+import java.util.Optional;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
 
 /**
@@ -22,7 +22,7 @@ public interface StoreTreeNode<C extends StoreTreeNode<C>> {
      * Returns a direct child of the node.
      *
      * @param child Identifier of child
-     * @return Optional with node if the child is existing, {@link Optional#absent()} otherwise.
+     * @return Optional with node if the child is existing, {@link Optional#empty()} otherwise.
      */
     Optional<C> getChild(PathArgument child);
 }