Relax visibility on FrontendReadWriteTransaction methods 67/57367/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 21 Apr 2017 13:38:03 +0000 (15:38 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 18 May 2017 15:23:46 +0000 (15:23 +0000)
commit2bc808b02828fde2da3dd9bfabab658156faa3c6
tree9e252ab32042adfc179a2b77c7e4d50a5c7bb87c
parent43130cfeb2a1ac9f733ac8a777cabb36ff1277af
Relax visibility on FrontendReadWriteTransaction methods

We are invoking these methods from anonymous subclasses, hence
keeping them private forces redirection via synthetic accessors:

 at org.opendaylight.controller.cluster.datastore.FrontendReadWriteTransaction.successfulDirectCanCommit
 at org.opendaylight.controller.cluster.datastore.FrontendReadWriteTransaction.access$300
 at org.opendaylight.controller.cluster.datastore.FrontendReadWriteTransaction$5.onSuccess

This patch makes the methods package-private, which will eliminate
the accessor, improving the stack trace.

Change-Id: Idbd803c43d7ed7333fc392a17edaf61c9721d76f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit abe229278329771993cc6ae09eef2a0a7afc2598)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/FrontendReadWriteTransaction.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.