Code Clean Up
[bgpcep.git] / bgp / bmp-impl / src / main / java / org / opendaylight / protocol / bmp / impl / session / BmpSessionImpl.java
index 652be4b4fb0173726279125fb78f6c000ffdc178..c4655f0cc715ed68de818d97419ce8c1fb2c9ee2 100644 (file)
@@ -63,7 +63,7 @@ public final class BmpSessionImpl extends SimpleChannelInboundHandler<Notificati
     @Override
     public void channelActive(final ChannelHandlerContext ctx) throws Exception {
         this.channel = ctx.channel();
-        LOG.info("Starting session {} <-> {}.", channel.localAddress(), channel.remoteAddress());
+        LOG.info("Starting session {} <-> {}.", this.channel.localAddress(), this.channel.remoteAddress());
         sessionUp();
     }
 
@@ -140,7 +140,7 @@ public final class BmpSessionImpl extends SimpleChannelInboundHandler<Notificati
     }
 
     private void sessionUp() {
-        Preconditions.checkArgument(State.IDLE == state);
+        Preconditions.checkArgument(State.IDLE == this.state);
         this.listener.onSessionUp(this);
         this.state = State.UP;
     }