+++ /dev/null
-/*
- * 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 org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
-
-/*
- * This base class provides binary backwards compatibility for Helium, which
- * used an Iterable instead of collection.
- *
- * @deprecated remove this class in Beryllium
- */
-@Deprecated
-abstract class IterablePathArguments {
- public abstract Iterable<PathArgument> getPathArguments();
- public abstract Iterable<PathArgument> getReversePathArguments();
-}
*
* @see <a href="http://tools.ietf.org/html/rfc6020#section-9.13">RFC6020</a>
*/
-public abstract class YangInstanceIdentifier extends IterablePathArguments implements Path<YangInstanceIdentifier>, Immutable, Serializable {
+public abstract class YangInstanceIdentifier implements Path<YangInstanceIdentifier>, Immutable, Serializable {
/**
* An empty {@link YangInstanceIdentifier}. It corresponds to the path of the conceptual
* root of the YANG namespace.
*/
@Nullable public abstract YangInstanceIdentifier getParent();
- /**
- * Returns a list of path arguments.
- *
- * @deprecated Use {@link #getPathArguments()} instead.
- * @return Immutable list of path arguments.
- */
- @Deprecated
- public final List<PathArgument> getPath() {
- return getPathArguments();
- }
-
/**
* Returns an ordered iteration of path arguments.
*
* @return Immutable iteration of path arguments.
*/
- @Override
public abstract List<PathArgument> getPathArguments();
/**
*
* @return Immutable iterable of path arguments in reverse order.
*/
- @Override
public abstract List<PathArgument> getReversePathArguments();
/**