Revert "Checkstyle enforcer"
[controller.git] / opendaylight / forwardingrulesmanager / api / src / main / java / org / opendaylight / controller / forwardingrulesmanager / FlowConfig.java
index b11b5f3dbc29c1e9ecf9674ae3dc7845ac3e4adf..f3429e62b181f155897ac7dc9034e355ac7d5d1f 100644 (file)
@@ -607,14 +607,15 @@ public class FlowConfig implements Serializable {
                         }
                     }
 
-                    log.debug("Get Nexthop address = " + address + " Type = "
-                            setNHType.toString());
+                    log.debug("Get Nexthop address = {} Type = {}", address,
+                            setNHType.toString());
                     if (setNHType == SetNextHopType.RESOLVE_L2RW) {
                         try {
                             return InetAddress.getByName(address);
                         } catch (Exception e) {
-                            log.debug("Exception during nextHopAddress resolution : "
-                                    + e.getMessage());
+                            log.debug(
+                                    "Exception during nextHopAddress resolution : ",
+                                    e);
                         }
                     }
                 }