BUG-3263: remove bridge Collection-based methods 05/20705/1
authorRobert Varga <rovarga@cisco.com>
Tue, 19 May 2015 08:57:24 +0000 (10:57 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 19 May 2015 08:57:32 +0000 (10:57 +0200)
This class and its methods were used in transition on Lithium and are no
longer needed, so remove them.

Change-Id: I2e67d173f87b409803e46861b77aa165784444e0
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/CollectionPathArguments.java [deleted file]
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/YangInstanceIdentifier.java

diff --git a/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/CollectionPathArguments.java b/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/CollectionPathArguments.java
deleted file mode 100644 (file)
index af7895c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 2015 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.data.api;
-
-import java.util.Collection;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
-
-/**
- * This class provides backwards compatibility with the previous switch to
- * Collections.
- *
- * @deprecated Remove before Lithium ships
- */
-@Deprecated
-abstract class CollectionPathArguments extends IterablePathArguments {
-    @Override
-    public abstract Collection<PathArgument> getPathArguments();
-    @Override
-    public abstract Collection<PathArgument> getReversePathArguments();
-}
index ce8d0e45bade344b6c6285921bffd5ba34211ea3..85963b6c59c6ac4746a0978af5cf5e6b859cfb6e 100644 (file)
@@ -64,7 +64,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.LeafSetEntryNode;
  *
  * @see <a href="http://tools.ietf.org/html/rfc6020#section-9.13">RFC6020</a>
  */
-public abstract class YangInstanceIdentifier extends CollectionPathArguments implements Path<YangInstanceIdentifier>, Immutable, Serializable {
+public abstract class YangInstanceIdentifier extends IterablePathArguments implements Path<YangInstanceIdentifier>, Immutable, Serializable {
     /**
      * An empty {@link YangInstanceIdentifier}. It corresponds to the path of the conceptual
      * root of the YANG namespace.