X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=hwvtepsouthbound%2Fhwvtepsouthbound-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fovsdb%2Fhwvtepsouthbound%2Ftransact%2FHwvtepOperationalState.java;h=afe4c7a40df8836d165a7d272e8ee3f5e9519576;hb=8838b9b1339188e947135ab0bef9792d967bd57d;hp=12fcf5f87d76b66b2722efbf266e07003e0c74b7;hpb=a64075f5e626e84444fd0e6edf02e6d67e7c2ed6;p=ovsdb.git diff --git a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/transact/HwvtepOperationalState.java b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/transact/HwvtepOperationalState.java index 12fcf5f87..afe4c7a40 100644 --- a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/transact/HwvtepOperationalState.java +++ b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/transact/HwvtepOperationalState.java @@ -90,17 +90,17 @@ public class HwvtepOperationalState { public HwvtepOperationalState(final DataBroker db, final HwvtepConnectionInstance connectionInstance, final Collection> changes) { this.connectionInstance = connectionInstance; - this.deviceInfo = connectionInstance.getDeviceInfo(); + deviceInfo = connectionInstance.getDeviceInfo(); this.db = db; this.changes = changes; - this.transaction = db.newReadWriteTransaction(); + transaction = db.newReadWriteTransaction(); } public HwvtepOperationalState(final HwvtepConnectionInstance connectionInstance) { this.connectionInstance = connectionInstance; - this.deviceInfo = connectionInstance.getDeviceInfo(); - this.db = connectionInstance.getDataBroker(); - this.changes = null; + deviceInfo = connectionInstance.getDeviceInfo(); + db = connectionInstance.getDataBroker(); + changes = null; transaction = connectionInstance.getDataBroker().newReadWriteTransaction(); Optional readNode = new MdsalUtils(db).readOptional(LogicalDatastoreType.OPERATIONAL, connectionInstance.getInstanceIdentifier()); @@ -256,7 +256,7 @@ public class HwvtepOperationalState { } public Optional getPhysicalLocatorAugmentation(final InstanceIdentifier iid, - final IpAddress dstIp, final Class encapType) { + final IpAddress dstIp, final EncapsulationTypeBase encapType) { Optional> nodeOptional = getTerminationPointList(requireNonNull(iid)); if (nodeOptional.isPresent()) {