From eb75f46d2e99cb1c75b026731fd73c1dee919725 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sun, 14 Dec 2014 19:18:40 +0100 Subject: [PATCH] Remove throws declaration of a runtime exception IllegalStateException is a RuntimeException -- hence we do not need to declare it. Change-Id: I681eff319b299beecf7710c44f154c1bb1b5174a Signed-off-by: Robert Varga --- .../controller/sal/binding/impl/RpcProviderRegistryImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/RpcProviderRegistryImpl.java b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/RpcProviderRegistryImpl.java index de28ae81fc..0949d3d761 100644 --- a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/RpcProviderRegistryImpl.java +++ b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/RpcProviderRegistryImpl.java @@ -89,8 +89,7 @@ public class RpcProviderRegistryImpl implements RpcProviderRegistry, RouteChange } @Override - public final RpcRegistration addRpcImplementation(final Class type, final T implementation) - throws IllegalStateException { + public final RpcRegistration addRpcImplementation(final Class type, final T implementation) { // FIXME: This should be well documented - addRpcImplementation for // routed RPCs -- 2.36.6