877e751c847af45a5e06450faf40aa742e43950e
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 5 | ||
Move Method private setOzoneLocalStorageRoot(conf OzoneConfiguration) : void from class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer to public setOzoneLocalStorageRoot(clazz Class<?>, conf OzoneConfiguration) : void from class org.apache.hadoop.ozone.container.ContainerTestHelper | From | To | |
Move Method public testOzoneContainerViaDataNodeRatisNetty() : void from class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer to public testOzoneContainerViaDataNodeRatisNetty() : void from class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis | From | To | |
Move Method public testOzoneContainerViaDataNodeRatisGrpc() : void from class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer to public testOzoneContainerViaDataNodeRatisGrpc() : void from class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis | From | To | |
Move Method public initRatisConf(rpc RpcType, pipeline Pipeline, conf Configuration) : void from class org.apache.hadoop.ozone.container.ContainerTestHelper to public initRatisConf(rpc RpcType, pipeline Pipeline, conf Configuration) : void from class org.apache.hadoop.ozone.RatisTestHelper | From | To | |
Move Method private runTestOzoneContainerViaDataNodeRatis(rpc RpcType, numNodes int) : void from class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer to private runTestOzoneContainerViaDataNodeRatis(rpc RpcType, numNodes int) : void from class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis from class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer | From | To | |
Extract Method | 7 | ||
Extract Method package newOzoneConfiguration() : OzoneConfiguration extracted from public testDeleteContainer() : void in class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer | From | To | |
Extract Method private runTest(testName String, rpc RpcType, numNodes int, test CheckedBiConsumer<String,XceiverClientSpi,Exception>) : void extracted from private runTestOzoneContainerViaDataNodeRatis(rpc RpcType, numNodes int) : void in class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis | From | To | |
Extract Method package newOzoneConfiguration() : OzoneConfiguration extracted from public testOzoneContainerViaDataNode() : void in class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer | From | To | |
Extract Method package newOzoneConfiguration() : OzoneConfiguration extracted from public testCreateOzoneContainer() : void in class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer | From | To | |
Extract Method package newOzoneConfiguration() : OzoneConfiguration extracted from public testBothGetandPutSmallFile() : void in class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer | From | To | |
Extract Method package newOzoneConfiguration() : OzoneConfiguration extracted from public testCloseContainer() : void in class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer | From | To | |
Extract Method package runTestBothGetandPutSmallFile(containerName String, client XceiverClientSpi) : void extracted from public testBothGetandPutSmallFile() : void in class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type client : RaftClient to client : AtomicReference<RaftClient> in class org.apache.hadoop.scm.XceiverClientRatis | From | To |