25b63e8da8e84252072bcd09ee5557c48e07a745
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public setCachedState(state HAServiceState) : void renamed to public setServiceProxyForTesting(proxy HAServiceProtocol) : void in class org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider.NNProxyInfo | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type state : HAServiceState to proxy : HAServiceProtocol in method public setServiceProxyForTesting(proxy HAServiceProtocol) : void in class org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider.NNProxyInfo | From | To | |
Move Method | 1 | ||
Move Method public answer(invocationOnMock InvocationOnMock) : Void from class org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider.ClientProtocolAnswer to public answer(invocationOnMock InvocationOnMock) : Void from class org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider.NameNodeAnswer.ClientProtocolAnswer | From | To | |
Extract Class | 2 | ||
Extract Class org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider.NameNodeAnswer.ClientProtocolAnswer from class org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider.ClientProtocolAnswer | From | To | |
Extract Class org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider.NameNodeAnswer.HAServiceProtocolAnswer from class org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider.ClientProtocolAnswer | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider.ClientProtocolAnswer renamed to org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider.NameNodeAnswer | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type namenodeAnswers : ClientProtocolAnswer[] to namenodeAnswers : NameNodeAnswer[] in class org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider | From | To | |
Rename Parameter | 1 | ||
Rename Parameter state : HAServiceState to proxy : HAServiceProtocol in method public setServiceProxyForTesting(proxy HAServiceProtocol) : void in class org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider.NNProxyInfo | From | To |