From: Robert Varga Date: Tue, 17 Jan 2017 20:46:18 +0000 (+0100) Subject: BUG-6937: correct format string X-Git-Tag: release/carbon~314 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=c0ddac051a1eec4ac2b12191ce61b6fcec265772 BUG-6937: correct format string This is a fix, the constructor takes String.format() string, not a Logger.debug() one. Change-Id: I966b02cd0c280b50ec1d0e77fb5a493fa2f5a4fe Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteRpcImplementation.java b/opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteRpcImplementation.java index 11f145ce1e..8d2cefbcaa 100644 --- a/opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteRpcImplementation.java +++ b/opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteRpcImplementation.java @@ -50,7 +50,7 @@ public class RemoteRpcImplementation implements DOMRpcImplementation { LOG.warn("Rpc {} was removed during execution or there is loop present. Failing received rpc.", rpc); return Futures.immediateFailedCheckedFuture( new DOMRpcImplementationNotAvailableException( - "Rpc implementation for {} was removed during processing.", rpc)); + "Rpc implementation for %s was removed during processing.", rpc)); } final RemoteDOMRpcFuture frontEndFuture = RemoteDOMRpcFuture.create(rpc.getType().getLastComponent()); findRouteAsync(rpc).onComplete(new OnComplete() {