b49c3a1813aa8c5b05fe6c02a653286c573137ca
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type volumes : Collection<StorageLocation> to volumes : Set<File> in method public removeVolumes(volumes Set<File>, clearFailure boolean) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi | From | To | |
Change Parameter Type locations : Collection<StorageLocation> to dirsToRemove : Set<File> in method package removeVolumes(dirsToRemove Set<File>) : void in class org.apache.hadoop.hdfs.server.datanode.DataStorage | From | To | |
Change Parameter Type volumes : Collection<StorageLocation> to volumes : Set<File> in method public removeVolumes(volumes Set<File>, clearFailure boolean) : void in class org.apache.hadoop.hdfs.server.datanode.SimulatedFSDataset | From | To | |
Rename Variable | 2 | ||
Rename Variable removedVols : ArrayList<FsVolumeImpl> to failedVols : Set<File> in method package checkDirs() : Set<File> in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList | From | To | |
Rename Variable volume : String to absRoot : File in method public removeVolumes(volumesToRemove Set<File>, clearFailure boolean) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Change Return Type | 4 | ||
Change Return Type List<FsVolumeImpl> to Set<File> in method package checkDirs() : Set<File> in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList | From | To | |
Change Return Type void to Set<File> in method public checkDataDir() : Set<File> in class org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi | From | To | |
Change Return Type void to Set<File> in method public checkDataDir() : Set<File> in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Change Return Type void to Set<File> in method public checkDataDir() : Set<File> in class org.apache.hadoop.hdfs.server.datanode.extdataset.ExternalDatasetImpl | From | To | |
Change Variable Type | 4 | ||
Change Variable Type volumesToRemove : List<StorageLocation> to volumesToRemove : Set<File> in method public testRemoveVolumes() : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl | From | To | |
Change Variable Type volume : String to absRoot : File in method public removeVolumes(volumesToRemove Set<File>, clearFailure boolean) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Change Variable Type removedVols : ArrayList<FsVolumeImpl> to failedVols : Set<File> in method package checkDirs() : Set<File> in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList | From | To | |
Change Variable Type absBasePath : String to absBasePath : File in method public removeVolumes(volumesToRemove Set<File>, clearFailure boolean) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Rename Parameter | 1 | ||
Rename Parameter locations : Collection<StorageLocation> to dirsToRemove : Set<File> in method package removeVolumes(dirsToRemove Set<File>) : void in class org.apache.hadoop.hdfs.server.datanode.DataStorage | From | To |