X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Fdevice%2FTransactionChainManager.java;h=60d928eb0dc44d98c6b2cf4c5d75a0e63bcb2c4e;hb=66149ccf887da6a65b9a7287b8a43ab9e1b49663;hp=598512ad6bc9aea75edd870ab510c0f9f603482a;hpb=ca5ea190c82f4cc8f107fe28a4a019bd7cc3283b;p=openflowplugin.git diff --git a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/device/TransactionChainManager.java b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/device/TransactionChainManager.java index 598512ad6b..60d928eb0d 100644 --- a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/device/TransactionChainManager.java +++ b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/device/TransactionChainManager.java @@ -45,10 +45,6 @@ import org.slf4j.LoggerFactory; * a {@link TransactionChainListener} and provide package protected methods for writeToTransaction * method (wrapped {@link WriteTransaction#put(LogicalDatastoreType, InstanceIdentifier, DataObject)}) * and submitTransaction method (wrapped {@link WriteTransaction#submit()}) - * - * @author Vaclav Demcak - *

- * Created: Apr 2, 2015 */ class TransactionChainManager implements TransactionChainListener, AutoCloseable { @@ -254,7 +250,6 @@ class TransactionChainManager implements TransactionChainListener, AutoCloseable @Nullable private WriteTransaction getTransactionSafely() { - if (wTx == null && TransactionChainManagerStatus.WORKING.equals(transactionChainManagerStatus)) { synchronized (txLock) { if (wTx == null && TransactionChainManagerStatus.WORKING.equals(transactionChainManagerStatus)) { if (wTx == null && txChainFactory != null) { @@ -262,7 +257,6 @@ class TransactionChainManager implements TransactionChainListener, AutoCloseable } } } - } return wTx; }