From: Robert Varga Date: Fri, 15 Jan 2016 20:57:57 +0000 (+0100) Subject: Remove deprecated concepts X-Git-Tag: release/boron~250 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=0ebfdbfd975f1bce3f37d73122ee0de18e92906f;hp=6ae283a8abfeeec44eff45320e28d332177575e4;p=yangtools.git Remove deprecated concepts These concepts are unused, remove them. Change-Id: I3501427445c7a30bbc6ce78c904545be9cacef23 Signed-off-by: Robert Varga --- diff --git a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/InvertibleTransformator.java b/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/InvertibleTransformator.java deleted file mode 100644 index ae02ef2973..0000000000 --- a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/InvertibleTransformator.java +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright (c) 2013 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.concepts; - -/** - * @deprecated Unused undocumented concept, scheduled for removal. Users should migrate to Guava's Converter. - */ -@Deprecated -public interface InvertibleTransformator extends Transformator { - - I fromProduct(P product); - -} diff --git a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Namespace.java b/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Namespace.java deleted file mode 100644 index 11be515970..0000000000 --- a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Namespace.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2013 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.concepts; - -import java.util.Set; - -/** - * @deprecated Unused undocumented concept. Scheduled for removal. - */ -@Deprecated -public interface Namespace { - - V get(K key); - - Namespace getParent(); - - Set> getSubnamespaces(); - - Namespace getSubnamespace(V key); -} diff --git a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/OrderedSet.java b/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/OrderedSet.java deleted file mode 100644 index adf3d8f9fa..0000000000 --- a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/OrderedSet.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) 2013 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.concepts; - -import java.util.List; -import java.util.Set; - -/** - * @deprecated There is no way an object can satisfy both the {@link Set} and {@link List} interface contracts, as - * they contradict on hashCode() specification. See {@link Set#hashCode()} and {@link List#hashCode()}. - * This class interface will be removed in a future release. - * - * @param Element type - */ -@Deprecated -public interface OrderedSet extends Set, List { - -} diff --git a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Transformator.java b/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Transformator.java deleted file mode 100644 index b906e368a6..0000000000 --- a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Transformator.java +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright (c) 2013 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.concepts; - -/** - * @deprecated Unused undocumented concept, scheduled for removal. Users should use Guava's Function interface. - */ -@Deprecated -public interface Transformator { - - P transform(I input); -}