Remove yangtools.util.Identifiables 84/61984/4
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 18 Aug 2017 10:11:27 +0000 (12:11 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 20 Aug 2017 09:16:49 +0000 (11:16 +0200)
This class does not hold anything useful in Java 8 world and was
deprecated. Remove it.

Change-Id: Id5c870a64f203adda12f9ca697531223c2d5b379
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
common/util/src/main/java/org/opendaylight/yangtools/util/Identifiables.java [deleted file]

diff --git a/common/util/src/main/java/org/opendaylight/yangtools/util/Identifiables.java b/common/util/src/main/java/org/opendaylight/yangtools/util/Identifiables.java
deleted file mode 100644 (file)
index abbac3b..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2014 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.util;
-
-import com.google.common.base.Function;
-import org.opendaylight.yangtools.concepts.Identifiable;
-
-@Deprecated
-public final class Identifiables {
-    private Identifiables() {
-        throw new UnsupportedOperationException("Utility class");
-    }
-
-    /**
-     * Return the {@link Function} to extract the identifier from a particular
-     * object implementing the {@link Identifiable} contract.
-     *
-     * @return Identifier associated with the object
-     *
-     * @deprecated Use Identifiable::getIdentifier instead
-     */
-    @Deprecated
-    public static <V> Function<Identifiable<V>, V> identifierExtractor() {
-        return Identifiable::getIdentifier;
-    }
-}
-