Fix issues related to checkstyle enforcement for module
[genius.git] / interfacemanager / interfacemanager-impl / src / main / java / org / opendaylight / genius / interfacemanager / listeners / TerminationPointStateListener.java
index b0a4ce52c1ef74cfd586f8cf684f34acde02fe0c..92dbcc523ec19679a54eb992eb4b34458297a3e7 100644 (file)
@@ -94,13 +94,13 @@ public class TerminationPointStateListener extends
         }
         String dpnId = interfaceMgrProvider.getDpidForInterface(newInterfaceName,
                         identifier.firstIdentifierOf(Node.class));
-        if (dpnId != null && newInterfaceName != null &&
-            (oldInterfaceName == null || !oldInterfaceName.equals(newInterfaceName))) {
+        if (dpnId != null && newInterfaceName != null
+                && (oldInterfaceName == null || !oldInterfaceName.equals(newInterfaceName))) {
             String parentRefName = InterfaceManagerCommonUtils.getPortNameForInterface(dpnId, tpNew.getName());
             LOG.debug(
-                "Detected update to termination point {} with external ID {}, updating parent ref "
-                    + "of that interface ID to this termination point's interface-state name {}",
-                tpNew.getName(), newInterfaceName, parentRefName);
+                    "Detected update to termination point {} with external ID {}, updating parent ref "
+                            + "of that interface ID to this termination point's interface-state name {}",
+                    tpNew.getName(), newInterfaceName, parentRefName);
             interfaceMgrProvider.updateInterfaceParentRef(newInterfaceName, parentRefName);
         }
     }