c85d3b2d256a6ebdbb7886ed4ac05e2425c10fab
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public toRaftPeerArray(pipeline Pipeline) : RaftPeer[] renamed to public newRaftGroup(pipeline Pipeline) : RaftGroup in class org.apache.ratis.RatisHelper | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type newPeers : RaftPeer[] to newPeers : Collection<RaftPeer> in method private reinitialize(datanode DatanodeID, newPeers Collection<RaftPeer>) : void in class org.apache.hadoop.scm.XceiverClientRatis | From | To | |
Change Parameter Type newPeers : RaftPeer[] to newPeers : Collection<RaftPeer> in method private reinitialize(datanodes List<DatanodeID>, newPeers Collection<RaftPeer>) : void in class org.apache.hadoop.scm.XceiverClientRatis | From | To | |
Change Parameter Type peers : List<RaftPeer> to group : RaftGroup in method public newRaftClient(rpcType RpcType, leader RaftPeerId, group RaftGroup) : RaftClient in class org.apache.ratis.RatisHelper | From | To | |
Change Return Type | 1 | ||
Change Return Type RaftPeer[] to RaftGroup in method public newRaftGroup(pipeline Pipeline) : RaftGroup in class org.apache.ratis.RatisHelper | From | To | |
Change Variable Type | 1 | ||
Change Variable Type newPeers : RaftPeer[] to newPeers : List<RaftPeer> in method public createPipeline(clusterId String, datanodes List<DatanodeID>) : void in class org.apache.hadoop.scm.XceiverClientRatis | From | To | |
Extract Method | 1 | ||
Extract Method public toRaftPeers(datanodes List<E>) : List<RaftPeer> extracted from public toRaftPeers(pipeline Pipeline) : List<RaftPeer> in class org.apache.ratis.RatisHelper | From | To | |
Rename Parameter | 1 | ||
Rename Parameter peers : List<RaftPeer> to group : RaftGroup in method public newRaftClient(rpcType RpcType, leader RaftPeerId, group RaftGroup) : RaftClient in class org.apache.ratis.RatisHelper | From | To |