Enforce checkstyle and findbug under PCE Api
[bgpcep.git] / pcep / pcc-mock / src / main / java / org / opendaylight / protocol / pcep / pcc / mock / protocol / PCCSessionListener.java
index d6748697946db5cac6b9cc754fb4f4a4500b8ca0..1fa4ccf2b8b170bb0535c2e9ab7c72f876bf4a33 100644 (file)
@@ -66,8 +66,8 @@ public final class PCCSessionListener implements PCEPSessionListener, PCCSession
     }
 
     @Override
-    public void onSessionDown(final PCEPSession session, final Exception e) {
-        LOG.info("Session down with cause : {} or exception: {}", e.getCause(), e, e);
+    public void onSessionDown(final PCEPSession session, final Exception exception) {
+        LOG.info("Session down with cause : {} or exception: {}", exception.getCause(), exception, exception);
         this.tunnelManager.onSessionDown(this);
         try {
             session.close();