f9e7edc7ebfa08347f331d4f3da9dc822a8163ff
Files Diff
- Added: 1
- Removed: 7
- Renamed: 0
- Modified: 6
Link to commit
Third party dependencies:
Dependency Action | |
---|---|
Added | |
org.testng:testng:6.8.8 | |
io.netty:netty-all:4.0.21.Final | |
net.kuujo.copycat:copycat-cluster:0.6.0-SNAPSHOT | |
org.slf4j:slf4j-api:1.7.7 | |
net.jodah:concurrentunit:0.3.3 | |
net.kuujo.alleycat:alleycat:0.4 | |
ch.qos.logback:logback-classic:1.1.2 | |
net.openhft:zero-allocation-hashing:0.2 |
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public exceptionCaught(context ChannelHandlerContext, cause Throwable) : void from class net.kuujo.copycat.cluster.NettyLocalMember.ServerHandlerAdapter to public channelReadComplete(context ChannelHandlerContext) : void from class net.kuujo.copycat.raft.rpc.NettyServer.ServerHandlerAdapter | From | To | |
Rename Variable | 3 | ||
Rename Variable responseBuffer : ByteBufBuffer to requestBuffer : ByteBufBuffer in method private writeError(buffer ByteBuf, t Throwable) : ByteBuf in class net.kuujo.copycat.raft.rpc.NettyConnection | From | To | |
Rename Variable responseByteBuf : ByteBuf to buffer : ByteBuf in method private handleRequestSuccess(requestId long, response Response) : void in class net.kuujo.copycat.raft.rpc.NettyConnection | From | To | |
Rename Variable response : ByteBuf to buffer : ByteBuf in method private handleRequestFailure(requestId long, error Throwable) : void in class net.kuujo.copycat.raft.rpc.NettyConnection | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable responseByteBuf : ByteBuf to buffer : ByteBuf in method private writeResponse(buffer ByteBuf, request Response) : ByteBuf in class net.kuujo.copycat.raft.rpc.NettyConnection | From | To | |
Extract Method | 2 | ||
Extract Method private writeResponse(buffer ByteBuf, request Response) : ByteBuf extracted from private handleRequestSuccess(requestId long, response Response, context Context) : void in class net.kuujo.copycat.raft.rpc.NettyConnection | From | To | |
Extract Method private writeError(buffer ByteBuf, t Throwable) : ByteBuf extracted from private handleRequestFailure(requestId long, error Throwable, context Context) : void in class net.kuujo.copycat.raft.rpc.NettyConnection | From | To | |
Rename Parameter | 2 | ||
Rename Parameter response : Response to request : Response in method private writeResponse(buffer ByteBuf, request Response) : ByteBuf in class net.kuujo.copycat.raft.rpc.NettyConnection | From | To | |
Rename Parameter error : Throwable to t : Throwable in method private writeError(buffer ByteBuf, t Throwable) : ByteBuf in class net.kuujo.copycat.raft.rpc.NettyConnection | From | To |