e880660a204b6fd0e5a0799393a4d36359765a54
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method public setAlignmentContext(ac AlignmentContext) : void from class org.apache.hadoop.ipc.Client to public setAlignmentContext(ac AlignmentContext) : void from class org.apache.hadoop.ipc.Client.Call | From | To | |
Move Method package getAlignmentContext() : ClientGCIContext from class org.apache.hadoop.hdfs.DFSClient to public getAlignmentContext() : ClientGCIContext from class org.apache.hadoop.hdfs.TestStateAlignmentContextWithHA.AlignmentContextProxyProvider | From | To | |
Rename Variable | 1 | ||
Rename Variable collectedHeaders : List<RpcHeaderProtos.RpcRequestHeaderProto.Builder> to headers : List<RpcHeaderProtos.RpcRequestHeaderProto.Builder> in method public testClientSendsState() : void in class org.apache.hadoop.hdfs.TestStateAlignmentContextWithHA | From | To | |
Move Attribute | 5 | ||
Move Attribute private alignmentContext : AlignmentContext from class org.apache.hadoop.ipc.Client to private alignmentContext : AlignmentContext from class org.apache.hadoop.ipc.ProtobufRpcEngine.Invoker | From | To | |
Move Attribute private alignmentContext : AlignmentContext from class org.apache.hadoop.ipc.Client to private alignmentContext : AlignmentContext from class org.apache.hadoop.ipc.Client.Call | From | To | |
Move Attribute private alignmentContext : ClientGCIContext from class org.apache.hadoop.hdfs.DFSClient to private alignmentContext : ClientGCIContext from class org.apache.hadoop.hdfs.TestStateAlignmentContextWithHA.SpyConfiguredContextProxyProvider | From | To | |
Move Attribute private alignmentContext : AlignmentContext from class org.apache.hadoop.ipc.Client to private alignmentContext : AlignmentContext from class org.apache.hadoop.ipc.WritableRpcEngine.Invoker | From | To | |
Move Attribute private alignmentContext : ClientGCIContext from class org.apache.hadoop.hdfs.DFSClient to private alignmentContext : ClientGCIContext from class org.apache.hadoop.hdfs.TestStateAlignmentContextWithHA.AlignmentContextProxyProvider | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.hadoop.hdfs.TestStateAlignmentContext renamed to org.apache.hadoop.hdfs.TestStateAlignmentContextWithHA | From | To | |
Change Variable Type | 2 | ||
Change Variable Type spiedAlignContext : AlignmentContext to spiedAlignContext : ClientGCIContext in method public testClientSendsState() : void in class org.apache.hadoop.hdfs.TestStateAlignmentContextWithHA | From | To | |
Change Variable Type spiedAlignContext : AlignmentContext to spiedAlignContext : ClientGCIContext in method public testClientSendsGreaterState() : void in class org.apache.hadoop.hdfs.TestStateAlignmentContextWithHA | From | To | |
Extract Method | 2 | ||
Extract Method package call(rpcKind RPC.RpcKind, rpcRequest Writable, remoteId ConnectionId, serviceClass int, fallbackToSimpleAuth AtomicBoolean, alignmentContext AlignmentContext) : Writable extracted from package call(rpcKind RPC.RpcKind, rpcRequest Writable, remoteId ConnectionId, serviceClass int, fallbackToSimpleAuth AtomicBoolean) : Writable in class org.apache.hadoop.ipc.Client | From | To | |
Extract Method public createProxyWithAlignmentContext(address InetSocketAddress, conf Configuration, ugi UserGroupInformation, withRetries boolean, fallbackToSimpleAuth AtomicBoolean, alignmentContext AlignmentContext) : ClientProtocol extracted from public createNonHAProxyWithClientProtocol(address InetSocketAddress, conf Configuration, ugi UserGroupInformation, withRetries boolean, fallbackToSimpleAuth AtomicBoolean) : ClientProtocol in class org.apache.hadoop.hdfs.NameNodeProxiesClient | From | To |