From 8002a60cc4e66c947b33086e01edd663a367649f Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Thu, 24 Nov 2022 13:04:36 +0100 Subject: [PATCH] Deprecate BindingReflections.isNotification() This methods is only used internally and in tests, deprecate it for removal. Change-Id: I1c4b5b863c20caa5056a5db505921ff512cdeba8 Signed-off-by: Robert Varga --- .../mdsal/binding/spec/reflect/BindingReflections.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binding/mdsal-binding-spec-util/src/main/java/org/opendaylight/mdsal/binding/spec/reflect/BindingReflections.java b/binding/mdsal-binding-spec-util/src/main/java/org/opendaylight/mdsal/binding/spec/reflect/BindingReflections.java index 0e10689fc6..e7e467e45b 100644 --- a/binding/mdsal-binding-spec-util/src/main/java/org/opendaylight/mdsal/binding/spec/reflect/BindingReflections.java +++ b/binding/mdsal-binding-spec-util/src/main/java/org/opendaylight/mdsal/binding/spec/reflect/BindingReflections.java @@ -282,7 +282,9 @@ public final class BindingReflections { * * @param potentialNotification class to examine * @return True if the class represents a Notification. + * @deprecated This method is only used internally and is schedule for removal */ + @Deprecated(since = "10.0.4", forRemoval = true) public static boolean isNotification(final Class potentialNotification) { checkArgument(potentialNotification != null, "potentialNotification must not be null."); return Notification.class.isAssignableFrom(potentialNotification); -- 2.36.6