作者 crossoverJie

:recycle: Refactoring code.

@@ -37,7 +37,8 @@ public class CIMClientHandle extends SimpleChannelInboundHandler<CIMResponseProt @@ -37,7 +37,8 @@ public class CIMClientHandle extends SimpleChannelInboundHandler<CIMResponseProt
37 IdleStateEvent idleStateEvent = (IdleStateEvent) evt ; 37 IdleStateEvent idleStateEvent = (IdleStateEvent) evt ;
38 38
39 if (idleStateEvent.state() == IdleState.WRITER_IDLE){ 39 if (idleStateEvent.state() == IdleState.WRITER_IDLE){
40 - CIMRequestProto.CIMReqProtocol heartBeat = SpringBeanFactory.getBean("heartBeat", CIMRequestProto.CIMReqProtocol.class); 40 + CIMRequestProto.CIMReqProtocol heartBeat = SpringBeanFactory.getBean("heartBeat",
  41 + CIMRequestProto.CIMReqProtocol.class);
41 ctx.writeAndFlush(heartBeat) ; 42 ctx.writeAndFlush(heartBeat) ;
42 } 43 }
43 44