8bd85268e6ddc0f8a593ede354a8e760361c0f33
Files Diff
- Added: 22
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type response : RegisteredCmdResponseProto to response : SCMRegisteredCmdResponseProto in method public getFromProtobuf(response SCMRegisteredCmdResponseProto) : RegisteredCommand in class org.apache.hadoop.ozone.protocol.commands.RegisteredCommand.Builder | From | To | |
Move Method | 2 | ||
Move Method package getDatanodeID(nodeManager SCMNodeManager, uuid String) : DatanodeID from class org.apache.hadoop.ozone.scm.node.TestNodeManager to public getDatanodeID(nodeManager SCMNodeManager, uuid String) : DatanodeID from class org.apache.hadoop.ozone.container.common.SCMTestUtils | From | To | |
Move Method package getDatanodeID(nodeManager SCMNodeManager) : DatanodeID from class org.apache.hadoop.ozone.scm.node.TestNodeManager to public getDatanodeID(nodeManager SCMNodeManager) : DatanodeID from class org.apache.hadoop.ozone.container.common.SCMTestUtils | From | To | |
Rename Variable | 1 | ||
Rename Variable errorCode : SCMCommand to responseCommand : SCMCommand in method public register(datanodeID DatanodeID) : SCMCommand in class org.apache.hadoop.ozone.scm.node.SCMNodeManager | From | To | |
Change Return Type | 1 | ||
Change Return Type RegisteredCmdResponseProto to SCMRegisteredCmdResponseProto in method package getProtoBufMessage() : SCMRegisteredCmdResponseProto in class org.apache.hadoop.ozone.protocol.commands.RegisteredCommand | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.hadoop.ozone.container.common.SCMTestUtils from class org.apache.hadoop.ozone.scm.node.TestNodeManager | From | To | |
Rename Attribute | 1 | ||
Rename Attribute OZONE_METADATA_DIRS : String to OZONE_CONTAINER_METADATA_DIRS : String in class org.apache.hadoop.ozone.OzoneConfigKeys | From | To | |
Extract Method | 1 | ||
Extract Method private getDatanodeID(uuid String) : DatanodeID extracted from package getDatanodeID(nodeManager SCMNodeManager, uuid String) : DatanodeID in class org.apache.hadoop.ozone.container.common.SCMTestUtils | From | To |