80acc2dca5435f46c683f9eae78861bc766589a6
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type servers : ServerLoad... to regionLoadArray : RegionLoad... in method private mockAdmin(regionLoadArray RegionLoad...) : Admin in class org.apache.hadoop.hbase.util.TestRegionSizeCalculator | From | To | |
Rename Variable | 5 | ||
Rename Variable servers : Collection<ServerName> to tableServers : Set<ServerName> in method private init(regionLocator RegionLocator, admin Admin) : void in class org.apache.hadoop.hbase.util.RegionSizeCalculator | From | To | |
Rename Variable regionInfo : HRegionLocation to regionLocation : HRegionLocation in method private getRegionServersOfTable(regionLocator RegionLocator) : Set<ServerName> in class org.apache.hadoop.hbase.util.RegionSizeCalculator | From | To | |
Rename Variable serverName : ServerName to tableServerName : ServerName in method private init(regionLocator RegionLocator, admin Admin) : void in class org.apache.hadoop.hbase.util.RegionSizeCalculator | From | To | |
Rename Variable clusterStatus : ClusterStatus to regionLoads : Map<byte[],RegionLoad> in method private mockAdmin(regionLoadArray RegionLoad...) : Admin in class org.apache.hadoop.hbase.util.TestRegionSizeCalculator | From | To | |
Rename Variable tableRegions : Set<byte[]> to tableServers : Set<ServerName> in method private getRegionServersOfTable(regionLocator RegionLocator) : Set<ServerName> in class org.apache.hadoop.hbase.util.RegionSizeCalculator | From | To | |
Change Variable Type | 3 | ||
Change Variable Type clusterStatus : ClusterStatus to regionLoads : Map<byte[],RegionLoad> in method private mockAdmin(regionLoadArray RegionLoad...) : Admin in class org.apache.hadoop.hbase.util.TestRegionSizeCalculator | From | To | |
Change Variable Type tableRegions : Set<byte[]> to tableServers : Set<ServerName> in method private getRegionServersOfTable(regionLocator RegionLocator) : Set<ServerName> in class org.apache.hadoop.hbase.util.RegionSizeCalculator | From | To | |
Change Variable Type servers : Collection<ServerName> to tableServers : Set<ServerName> in method private init(regionLocator RegionLocator, admin Admin) : void in class org.apache.hadoop.hbase.util.RegionSizeCalculator | From | To | |
Inline Variable | 1 | ||
Inline Variable tableRegionInfos : List<HRegionLocation> in method private init(regionLocator RegionLocator, admin Admin) : void from class org.apache.hadoop.hbase.util.RegionSizeCalculator | From | To | |
Extract Method | 1 | ||
Extract Method private getRegionServersOfTable(regionLocator RegionLocator) : Set<ServerName> extracted from private init(regionLocator RegionLocator, admin Admin) : void in class org.apache.hadoop.hbase.util.RegionSizeCalculator | From | To | |
Rename Parameter | 1 | ||
Rename Parameter servers : ServerLoad... to regionLoadArray : RegionLoad... in method private mockAdmin(regionLoadArray RegionLoad...) : Admin in class org.apache.hadoop.hbase.util.TestRegionSizeCalculator | From | To |