854f13afa16984ac60b7461d29909a8d48eb1583
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable cellScanner : CellScanner to pcrc : PayloadCarryingRpcController in method public main(args String[]) : void in class org.apache.hadoop.hbase.ipc.TestIPC | From | To | |
Change Return Type | 1 | ||
Change Return Type Integer to int in method public getCallTimeout() : int in class org.apache.hadoop.hbase.ipc.TimeLimitedRpcController | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [callTimeout : int, priority : int, cells : CellScanner] to pcrc : PayloadCarryingRpcController in method protected call(pcrc PayloadCarryingRpcController, md MethodDescriptor, param Message, returnType Message, ticket User, addr InetSocketAddress) : Pair<Message,CellScanner> in class org.apache.hadoop.hbase.ipc.RpcClientImpl | From | To | |
Rename Attribute | 1 | ||
Rename Attribute defaultOperationTimeout : int to channelOperationTimeout : int in class org.apache.hadoop.hbase.ipc.AbstractRpcClient.BlockingRpcChannelImplementation | From | To | |
Change Variable Type | 1 | ||
Change Variable Type cellScanner : CellScanner to pcrc : PayloadCarryingRpcController in method public main(args String[]) : void in class org.apache.hadoop.hbase.ipc.TestIPC | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type RPC_HEADER : ByteBuffer to RPC_HEADER : byte[] in class org.apache.hadoop.hbase.HConstants | From | To | |
Extract Method | 1 | ||
Extract Method public hashCode(ticket User, serviceName String, address InetSocketAddress) : int extracted from public hashCode() : int in class org.apache.hadoop.hbase.ipc.ConnectionId | From | To | |
Rename Parameter | 2 | ||
Rename Parameter addr : InetSocketAddress to isa : InetSocketAddress in method protected abstract call(pcrc PayloadCarryingRpcController, md Descriptors.MethodDescriptor, param Message, returnType Message, ticket User, isa InetSocketAddress) : Pair<Message,CellScanner> in class org.apache.hadoop.hbase.ipc.AbstractRpcClient | From | To | |
Rename Parameter defaultOperationTimeout : int to channelOperationTimeout : int in method protected BlockingRpcChannelImplementation(rpcClient AbstractRpcClient, sn ServerName, ticket User, channelOperationTimeout int) in class org.apache.hadoop.hbase.ipc.AbstractRpcClient.BlockingRpcChannelImplementation | From | To |