Propagate @Nonnull and @Nullable annotations
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / RevisionAwareXPath.java
index f2d911a7dadfa42931e6bb78317eabbe57509f9c..62a349b99b5a2ed2b6d42bd09ce37fc7e11cfa2d 100644 (file)
@@ -8,20 +8,17 @@
 package org.opendaylight.yangtools.yang.model.api;
 
 /**
- * 
  * Contains methods for getting data (concrete XPath) and metadata (is XPath
  * absolute) from XPath instance.
- * 
- * 
  */
 public interface RevisionAwareXPath {
 
     /**
      * Returns <code>true</code> if the XPapth starts in root of Yang model,
-     * otherwise returns <code>false</cdoe>.
-     * 
+     * otherwise returns <code>false</code>.
+     *
      * @return <code>true</code> if the XPapth starts in root of Yang model,
-     *         otherwise returns <code>false</cdoe>
+     *         otherwise returns <code>false</code>
      */
     boolean isAbsolute();
 
@@ -29,8 +26,9 @@ public interface RevisionAwareXPath {
      * Returns the XPath formatted string as is defined in model. <br>
      * For example:
      * /prefix:container/prefix:container::cond[when()=foo]/prefix:leaf
-     * 
+     *
      * @return the XPath formatted string as is defined in model.
      */
+    @Override
     String toString();
 }