From: Michael Vorburger Date: Mon, 10 Sep 2018 15:21:36 +0000 (+0200) Subject: make ManagedTransactionFactoryImpl's internal methods protected X-Git-Tag: release/neon~96 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=f3a15c1b5da48554c0ebc58fc1a07ea03dfa195f;p=genius.git make ManagedTransactionFactoryImpl's internal methods protected instead of package local, just on the off chance that this currently entirely package local class will be made public when moving to mdsal. Change-Id: Ic35f5060dd5339b99fd3ad40e3cce15fe644a191 Signed-off-by: Michael Vorburger --- diff --git a/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/genius/infra/ManagedTransactionFactoryImpl.java b/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/genius/infra/ManagedTransactionFactoryImpl.java index 357d0e955..e16e97086 100644 --- a/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/genius/infra/ManagedTransactionFactoryImpl.java +++ b/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/genius/infra/ManagedTransactionFactoryImpl.java @@ -79,7 +79,7 @@ class ManagedTransactionFactoryImpl implements ManagedTransactionFactory { TypedWriteTransactionImpl::new, txConsumer, (realTx, wrappedTx) -> realTx.commit()); } - FluentFuture + protected FluentFuture callWithNewTransactionAndSubmit( Class datastoreType, Supplier txSupplier, BiFunction, T, W> txWrapper, InterruptibleCheckedConsumer txConsumer, BiFunction> txSubmitter) { @@ -90,7 +90,7 @@ class ManagedTransactionFactoryImpl implements ManagedTransactionFactory { } @SuppressWarnings("checkstyle:IllegalCatch") - FluentFuture + protected FluentFuture applyWithNewTransactionAndSubmit( Class datastoreType, Supplier txSupplier, BiFunction, T, W> txWrapper, InterruptibleCheckedFunction txFunction, BiFunction> txSubmitter) {