Remove deprecated concepts 53/32853/5
authorRobert Varga <robert.varga@pantheon.sk>
Fri, 15 Jan 2016 20:57:57 +0000 (21:57 +0100)
committerRobert Varga <rovarga@cisco.com>
Fri, 22 Jan 2016 16:55:12 +0000 (17:55 +0100)
These concepts are unused, remove them.

Change-Id: I3501427445c7a30bbc6ce78c904545be9cacef23
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/InvertibleTransformator.java [deleted file]
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Namespace.java [deleted file]
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/OrderedSet.java [deleted file]
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Transformator.java [deleted file]

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 (file)
index ae02ef2..0000000
+++ /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<P, I> extends Transformator<P, I> {
-
-    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 (file)
index 11be515..0000000
+++ /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<K,V> {
-
-    V get(K key);
-
-    Namespace<K,V> getParent();
-
-    Set<Namespace<K,V>> getSubnamespaces();
-
-    Namespace<K,V> 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 (file)
index adf3d8f..0000000
+++ /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 <E> Element type
- */
-@Deprecated
-public interface OrderedSet<E> extends Set<E>, List<E> {
-
-}
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 (file)
index b906e36..0000000
+++ /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,I> {
-
-    P transform(I input);
-}