13cf4fb3fc832640d385095eb4ee0b3bc7231370
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getTableStoreFilePathMap(map Map<String,Path>, fs FileSystem, hbaseRootDir Path, tableName TableName, errors ErrorReporter) : Map<String,Path> renamed to public run() : void in class org.apache.hadoop.hbase.util.FSUtils.getTableStoreFilePathMap.getRegionStoreFileMapCall | From | To | |
Pull Up Method | 3 | ||
Pull Up Method public accept(rd Path) : boolean from class org.apache.hadoop.hbase.util.FSUtils.ReferenceFileFilter to public accept(p Path) : boolean from class org.apache.hadoop.hbase.util.AbstractFileStatusFilter | From | To | |
Pull Up Method public accept(rd Path) : boolean from class org.apache.hadoop.hbase.util.FSUtils.HFileFilter to public accept(p Path) : boolean from class org.apache.hadoop.hbase.util.AbstractFileStatusFilter | From | To | |
Pull Up Method public accept(p Path) : boolean from class org.apache.hadoop.hbase.util.FSUtils.BlackListDirFilter to public accept(p Path) : boolean from class org.apache.hadoop.hbase.util.AbstractFileStatusFilter | From | To | |
Rename Variable | 1 | ||
Rename Variable map : Map<String,Path> to regionStoreFileMap : HashMap<String,Path> in method public run() : void in class org.apache.hadoop.hbase.util.FSUtils.getTableStoreFilePathMap.getRegionStoreFileMapCall | From | To | |
Change Return Type | 1 | ||
Change Return Type Map<String,Path> to void in method public run() : void in class org.apache.hadoop.hbase.util.FSUtils.getTableStoreFilePathMap.getRegionStoreFileMapCall | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.hadoop.hbase.util.AbstractFileStatusFilter from classes [org.apache.hadoop.hbase.util.FSUtils.FileFilter, org.apache.hadoop.hbase.util.FSUtils.BlackListDirFilter, org.apache.hadoop.hbase.util.FSUtils.RegionDirFilter, org.apache.hadoop.hbase.util.FSUtils.FamilyDirFilter, org.apache.hadoop.hbase.util.FSUtils.HFileFilter, org.apache.hadoop.hbase.util.FSUtils.ReferenceFileFilter] | From | To | |
Change Variable Type | 3 | ||
Change Variable Type families : FileStatus[] to families : List<FileStatus> in method public visitRegionStoreFiles(fs FileSystem, regionDir Path, visitor StoreFileVisitor) : void in class org.apache.hadoop.hbase.util.FSVisitor | From | To | |
Change Variable Type map : Map<String,Path> to regionStoreFileMap : HashMap<String,Path> in method public run() : void in class org.apache.hadoop.hbase.util.FSUtils.getTableStoreFilePathMap.getRegionStoreFileMapCall | From | To | |
Change Variable Type regions : FileStatus[] to regions : List<FileStatus> in method public visitTableStoreFiles(fs FileSystem, tableDir Path, visitor StoreFileVisitor) : void in class org.apache.hadoop.hbase.util.FSVisitor | From | To | |
Rename Parameter | 4 | ||
Rename Parameter rd : Path to p : Path in method protected accept(p Path, isDir Boolean) : boolean in class org.apache.hadoop.hbase.util.FSUtils.RegionDirFilter | From | To | |
Rename Parameter rd : Path to p : Path in method protected accept(p Path, isDir Boolean) : boolean in class org.apache.hadoop.hbase.util.FSUtils.FamilyDirFilter | From | To | |
Rename Parameter rd : Path to p : Path in method public accept(p Path) : boolean in class org.apache.hadoop.hbase.util.AbstractFileStatusFilter | From | To |