Remove LeafRefValidatation 16/81016/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 19 Mar 2019 19:45:12 +0000 (20:45 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 19 Mar 2019 19:45:12 +0000 (20:45 +0100)
This is a misnomer, use LeafRefValidation instead.

Change-Id: I67f4d6b2226f7218aadbddc036e8205f47082105
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefValidatation.java [deleted file]

diff --git a/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefValidatation.java b/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefValidatation.java
deleted file mode 100644 (file)
index 5a302da..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.data.impl.leafref;
-
-import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate;
-
-/**
- * Legacy interface to leaf-ref validation.
- *
- * @deprecated Use {@link LeafRefValidation} instead.
- */
-@Deprecated
-public final class LeafRefValidatation {
-    private LeafRefValidatation() {
-
-    }
-
-    public static void validate(final DataTreeCandidate tree, final LeafRefContext rootLeafRefCtx)
-            throws LeafRefDataValidationFailedException {
-        LeafRefValidation.validate(tree, rootLeafRefCtx);
-    }
-}