e4450d47f19131818e1c040b6bd8d85ae8250475
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public getAsyncReturnValue() : AsyncGet<T,Exception> renamed to public getReturnValueCallback() : Callable<T> in class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB | From | To | |
Rename Method public getAsyncRpcResponse() : Future<T> renamed to public getReturnRpcResponse() : Future<T> in class org.apache.hadoop.ipc.Client | From | To | |
Rename Method private setAsyncReturnValue() : void renamed to private setReturnValueCallback() : void in class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB | From | To | |
Rename Variable | 2 | ||
Rename Variable asyncGet : AsyncGet<Void,Exception> to callBack : Callable<Void> in method private setReturnValueCallback() : void in class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB | From | To | |
Rename Variable asyncReturnMessage : AsyncGet<Message,Exception> to returnMessageCallback : Callable<Message> in method private setReturnValueCallback() : void in class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB | From | To | |
Change Return Type | 1 | ||
Change Return Type AsyncGet<T,Exception> to Callable<T> in method public getReturnValueCallback() : Callable<T> in class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB | From | To | |
Rename Attribute | 3 | ||
Rename Attribute ASYNC_RETURN_VALUE : ThreadLocal<AsyncGet<?,Exception>> to RETURN_VALUE_CALLBACK : ThreadLocal<Callable<?>> in class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB | From | To | |
Rename Attribute ASYNC_RETURN_MESSAGE : ThreadLocal<AsyncGet<Message,Exception>> to RETURN_MESSAGE_CALLBACK : ThreadLocal<Callable<?>> in class org.apache.hadoop.ipc.ProtobufRpcEngine | From | To | |
Rename Attribute ASYNC_RPC_RESPONSE : ThreadLocal<Future<?>> to RETURN_RPC_RESPONSE : ThreadLocal<Future<?>> in class org.apache.hadoop.ipc.Client | From | To | |
Change Variable Type | 2 | ||
Change Variable Type asyncGet : AsyncGet<Void,Exception> to callBack : Callable<Void> in method private setReturnValueCallback() : void in class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB | From | To | |
Change Variable Type asyncReturnMessage : AsyncGet<Message,Exception> to returnMessageCallback : Callable<Message> in method private setReturnValueCallback() : void in class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type ASYNC_RETURN_MESSAGE : ThreadLocal<AsyncGet<Message,Exception>> to RETURN_MESSAGE_CALLBACK : ThreadLocal<Callable<?>> in class org.apache.hadoop.ipc.ProtobufRpcEngine | From | To | |
Change Attribute Type ASYNC_RETURN_VALUE : ThreadLocal<AsyncGet<?,Exception>> to RETURN_VALUE_CALLBACK : ThreadLocal<Callable<?>> in class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB | From | To |