Merge "Bug 7599 hwvtep ucast mac consumption performance"
[genius.git] / itm / itm-impl / src / main / java / org / opendaylight / genius / itm / confighelpers / OvsdbTepRemoveConfigHelper.java
index 7868c98f2c16df9b7da85b143ff78a87269f7277..7fdcf603a7e6e76cb6bb0d7d5a42b4c17b2d809c 100644 (file)
@@ -62,7 +62,7 @@ public class OvsdbTepRemoveConfigHelper {
         TransportZone tZone = null;
 
         // Case: TZ name is not given from OVS's other_config parameters.
-        if (tzName.isEmpty()) {
+        if (tzName == null) {
             tzName = ITMConstants.DEFAULT_TRANSPORT_ZONE;
             // add TEP into default-TZ
             tZone = ItmUtils.getTransportZoneFromConfigDS(tzName, dataBroker);