Fix StringStringCodec length check
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / DerivableSchemaNode.java
index 2ffc3ad97368af238345fd6b553d98be11e85149..2aaa58f1b2065669dff1e1c703f9764034322100 100644 (file)
@@ -1,6 +1,13 @@
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.yangtools.yang.model.api;
 
-import com.google.common.base.Optional;
+import java.util.Optional;
 
 /**
  * Schema Node which may be derived from other schema node
@@ -14,7 +21,7 @@ public interface DerivableSchemaNode extends DataSchemaNode {
      * grouping where it was defined.
      *
      * @return original node definition from grouping if this node is added by
-     *         uses, null otherwise
+     *         uses, Optional.absent otherwise
      */
     Optional<? extends SchemaNode> getOriginal();