aa45faf0b20c922b0d147ece9fa01fb95a5b0dec
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 1 | ||
Extract Variable bpid : String in method package finalizeNewReplica(newReplicaInfo ReplicaInfo, block ExtendedBlock) : void from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Extract Method | 3 | ||
Extract Method package copyReplicaToVolume(block ExtendedBlock, replicaInfo ReplicaInfo, volumeRef FsVolumeReference) : ReplicaInfo extracted from private moveBlock(block ExtendedBlock, replicaInfo ReplicaInfo, volumeRef FsVolumeReference) : ReplicaInfo in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Extract Method package finalizeNewReplica(newReplicaInfo ReplicaInfo, block ExtendedBlock) : void extracted from private moveBlock(block ExtendedBlock, replicaInfo ReplicaInfo, volumeRef FsVolumeReference) : ReplicaInfo in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Extract Method private cleanupReplica(bpid String, replicaInfo ReplicaInfo) : void extracted from private removeOldReplica(replicaInfo ReplicaInfo, newReplicaInfo ReplicaInfo, bpid String) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To |