Using private methods from anonymous classes forces javac to create
synthetics. Lower isolation to package-private to call them directly.
Change-Id: I52a5d641f275d5a2e9924e60910641ccdce42281
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* <p>
* Then schedule next keepalive.
*/
- private void resetKeepalive() {
+ void resetKeepalive() {
LOG.trace("{}: Resetting netconf keepalive timer", id);
if (currentKeepalive != null) {
currentKeepalive.cancel(false);
currentDeviceRpc = null;
}
- private void reconnect() {
+ void reconnect() {
Preconditions.checkState(listener != null, "%s: Unable to reconnect, session listener is missing", id);
stopKeepalives();
LOG.info("{}: Reconnecting inactive netconf session", id);