From: Robert Varga Date: Sun, 14 Dec 2014 18:18:40 +0000 (+0100) Subject: Remove throws declaration of a runtime exception X-Git-Tag: release/lithium~757^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=eb75f46d2e99cb1c75b026731fd73c1dee919725 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 --- 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