From: Robert Varga Date: Mon, 9 Jul 2018 02:10:21 +0000 (+0200) Subject: Eliminate synthetic access to invoke0() X-Git-Tag: release/fluorine~56 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=a2c12f815301c4351bebe5ce1370017ba657c503 Eliminate synthetic access to invoke0() This method is invoked from InvocationStrategy, hence it being private generates a synthetic accessor method. Change method visibility to package-private, eliminating this inefficiency. Change-Id: I74ee9f8c729ba8d0892316fc405a0d99830b5f04 Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/RpcServiceAdapter.java b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/RpcServiceAdapter.java index 35349968f2..5e24c90b19 100644 --- a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/RpcServiceAdapter.java +++ b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/RpcServiceAdapter.java @@ -64,7 +64,7 @@ class RpcServiceAdapter implements InvocationHandler { proxy = (RpcService) Proxy.newProxyInstance(type.getClassLoader(), new Class[] {type}, this); } - private ListenableFuture> invoke0(final SchemaPath schemaPath, final NormalizedNode input) { + ListenableFuture> invoke0(final SchemaPath schemaPath, final NormalizedNode input) { final CheckedFuture result = delegate.invokeRpc(schemaPath, input); if (result instanceof LazyDOMRpcResultFuture) { return ((LazyDOMRpcResultFuture) result).getBindingFuture();