Remove SchemaPath.getPath() 84/87584/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 11 Feb 2020 14:29:07 +0000 (15:29 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 11 Feb 2020 15:31:56 +0000 (16:31 +0100)
SchemaPath.getPath() has been deprecated for quite some time,
remove it in favor of getPathFromRoot().

Change-Id: Ib70c428fe5e465269fa5a86503d2e645ee506d93
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaPath.java

index bbb28d3722cff364a277934cd2e4eb7f0e01f786..7d6ca30e48dbd808e49b8f1ba727a9121957faa3 100644 (file)
@@ -141,19 +141,6 @@ public abstract class SchemaPath implements Immutable {
         return witness == null ? ret : (ImmutableList<QName>) witness;
     }
 
-    /**
-     * Returns the complete path to schema node.
-     *
-     * @return list of <code>QName</code> instances which represents complete
-     *         path to schema node
-     *
-     * @deprecated Use {@link #getPathFromRoot()} instead.
-     */
-    @Deprecated(forRemoval = true)
-    public List<QName> getPath() {
-        return getLegacyPath();
-    }
-
     /**
      * Constructs new instance of this class with the concrete path.
      *