From: Robert Varga Date: Fri, 21 Aug 2020 08:27:59 +0000 (+0200) Subject: Remove EffectiveStatement.findAll() X-Git-Tag: v6.0.0~79 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=e1edc6ae8edc36ac2109e0c0c0558a9ea94f8cca;p=yangtools.git Remove EffectiveStatement.findAll() This method has been replaced by getAll(), which has the same semantics. Remove it now. Change-Id: I3e5bdc3ec903a9e57d5beb7d996bea9ea4c62691 Signed-off-by: Robert Varga --- diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/EffectiveStatement.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/EffectiveStatement.java index b47a301dce..bb6e4d5338 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/EffectiveStatement.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/EffectiveStatement.java @@ -7,8 +7,6 @@ */ package org.opendaylight.yangtools.yang.model.api.meta; -import static java.util.Objects.requireNonNull; - import com.google.common.annotations.Beta; import java.util.Collection; import java.util.Map; @@ -59,22 +57,6 @@ public interface EffectiveStatement> extends M */ > @NonNull Map getAll(@NonNull Class namespace); - /** - * Returns all local values from supplied namespace. - * - * @param Identifier type - * @param Value type - * @param Namespace identifier type - * @param namespace Namespace type - * @return Key-value mappings, empty if the namespace does not exist. - * @throws NullPointerException if namespace is null - * @deprecated Use {@link #getAll(Class)} instead - */ - @Deprecated(forRemoval = true) - default > @NonNull Map findAll(final @NonNull Class namespace) { - return getAll(requireNonNull(namespace)); - } - /** * Returns a collection of all effective substatements. *