24d3a2d4fdd836ac9a5bc755a7fb9354f7a582b1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 28
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getVolumes() : List<FsVolumeSpi> renamed to public getFsVolumeReferences() : FsVolumeReferences in class org.apache.hadoop.hdfs.server.datanode.SimulatedFSDataset | From | To | |
Rename Method public getVolumes() : List<ExternalVolumeImpl> renamed to public getFsVolumeReferences() : FsVolumeReferences in class org.apache.hadoop.hdfs.server.datanode.extdataset.ExternalDatasetImpl | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public getVolumes() : List<FsVolumeImpl> moved from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl to class org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner & inlined to private createBlockFile() : long | From | To | |
Rename Variable | 4 | ||
Rename Variable v : FsVolumeSpi to vol : FsVolumeSpi in method private testRbwReplicas(cluster MiniDFSCluster, isCorrupt boolean) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestDatanodeRestart | From | To | |
Rename Variable v : FsVolumeSpi to vol : FsVolumeSpi in method protected verifyDeletedBlocks(locatedBlocks LocatedBlocks) : boolean in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.LazyPersistTestCase | From | To | |
Rename Variable v : FsVolumeSpi to fvs : FsVolumeSpi in method private setVolumeFull(dn DataNode, type StorageType) : void in class org.apache.hadoop.hdfs.server.mover.TestStorageMover | From | To | |
Rename Variable v : FsVolumeSpi to vol : FsVolumeSpi in method public testLocalDirs() : void in class org.apache.hadoop.hdfs.server.datanode.TestDiskError | From | To | |
Inline Method | 7 | ||
Inline Method public getVolumes() : List<FsVolumeImpl> inlined to public getBlockReports(bpid String) : Map<DatanodeStorage,BlockListAsLongs> in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Inline Method public getVolumes() : List<FsVolumeImpl> inlined to private getVolumeInfo() : Collection<VolumeInfo> in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Inline Method public getVolumes() : List<FsVolumeImpl> inlined to public deleteBlockPool(bpid String, force boolean) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Inline Method public getVolumes() : List<FsVolumeImpl> inlined to public getStorageReports(bpid String) : StorageReport[] in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Inline Method public getVolumes() : List<FsVolumeImpl> inlined to private ramDiskConfigured() : boolean in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Inline Method public getVolumes() : List<FsVolumeImpl> inlined to public getHdfsBlocksMetadata(poolId String, blockIds long[]) : HdfsBlocksMetadata in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Inline Method public getVolumes() : List<FsVolumeImpl> inlined to private setupAsyncLazyPersistThreads() : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Change Return Type | 2 | ||
Change Return Type List<FsVolumeSpi> to FsVolumeReferences in method public getFsVolumeReferences() : FsVolumeReferences in class org.apache.hadoop.hdfs.server.datanode.SimulatedFSDataset | From | To | |
Change Return Type List<ExternalVolumeImpl> to FsVolumeReferences in method public getFsVolumeReferences() : FsVolumeReferences in class org.apache.hadoop.hdfs.server.datanode.extdataset.ExternalDatasetImpl | From | To | |
Extract Variable | 2 | ||
Extract Variable volume : FsVolumeImpl in method package addVolume(ref FsVolumeReference) : void from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList | From | To | |
Extract Variable numVolumes : int in method private createBlockFile() : long from class org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type volumes : List<? extends FsVolumeSpi> to volumes : FsDatasetSpi.FsVolumeReferences in class org.apache.hadoop.hdfs.server.datanode.TestBlockScanner.TestContext | From | To | |
Inline Variable | 1 | ||
Inline Variable v : FsVolumeSpi in method public testBlockHasMultipleReplicasOnSameDN() : void from class org.apache.hadoop.hdfs.server.datanode.TestBlockHasMultipleReplicasOnSameDN | From | To |