bf8e45298218f70e38838152f69c7705d8606bd6
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 8 | ||
Extract Method private getTrimmedOrNull(conf Configuration, key String) : String extracted from protected getServiceRpcServerBindHost(conf Configuration) : String in class org.apache.hadoop.hdfs.server.namenode.NameNode | From | To | |
Extract Method private doNNHealthCheckTest() : void extracted from public testNNHealthCheck() : void in class org.apache.hadoop.hdfs.server.namenode.ha.TestNNHealthCheck | From | To | |
Extract Method private getProxyForAddress(conf Configuration, timeoutMs int, addr InetSocketAddress) : HAServiceProtocol extracted from public getProxy(conf Configuration, timeoutMs int) : HAServiceProtocol in class org.apache.hadoop.ha.HAServiceTarget | From | To | |
Extract Method protected createDummyHAService() : DummyHAService extracted from public setupHM() : void in class org.apache.hadoop.ha.TestHealthMonitor | From | To | |
Extract Method private getTrimmedOrNull(conf Configuration, key String) : String extracted from protected getRpcServerBindHost(conf Configuration) : String in class org.apache.hadoop.hdfs.server.namenode.NameNode | From | To | |
Extract Method private copyKey(srcConf Configuration, destConf Configuration, nameserviceId String, nnId String, baseKey String) : void extracted from private copyKeys(srcConf Configuration, destConf Configuration, nameserviceId String, nnId String) : void in class org.apache.hadoop.hdfs.MiniDFSCluster | From | To |