From 4c8bc30b3a357d6a436eda3adfef45126e045679 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Fri, 9 May 2014 12:16:50 +0200 Subject: [PATCH] BUG-731: RoutedRegistration.close() should not throw Routed RPC implementations should be allowed to unregister themselves without incurring a checked exceptions. This allows downstream users to elide having to deal with raw Exception. Change-Id: Ia356c6272da3d22a375c954e192f79786ab42395 Signed-off-by: Robert Varga --- .../md/sal/common/api/routing/RoutedRegistration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/routing/RoutedRegistration.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/routing/RoutedRegistration.java index 5200c90561..6ce7b5a5c7 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/routing/RoutedRegistration.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/routing/RoutedRegistration.java @@ -15,4 +15,6 @@ public interface RoutedRegistration, S> extends Registratio void registerPath(C context, P path); void unregisterPath(C context, P path); + @Override + void close(); } -- 2.36.6