Enforce checkstyle and findbug under PCE Api
[bgpcep.git] / pcep / testtool / src / test / java / org / opendaylight / protocol / pcep / testtool / SimpleSessionListener.java
index e4630171126982023b6aa8dff6ed15f12a0ca02e..ebe30c77ec77f2e502f2cf38e7c5e5a406afabbe 100644 (file)
@@ -40,8 +40,8 @@ public class SimpleSessionListener implements PCEPSessionListener {
     }
 
     @Override
-    public void onSessionDown(final PCEPSession session, final Exception e) {
-        LOG.debug("Session down with cause : {} or exception: {}", e.getCause(), e, e);
+    public void onSessionDown(final PCEPSession session, final Exception exception) {
+        LOG.debug("Session down with cause : {} or exception: {}", exception.getCause(), exception, exception);
         try {
             session.close();
         } catch (Exception ie) {