b392de3e315aa260e2825484e418701919eb7622
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 1 | ||
| Rename Variable RSGroupInfo : RSGroupInfo to rsgi : RSGroupInfo in method public removeRSGroup(name String) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable newGroupMap : HashMap<String,RSGroupInfo> to newRSGroupMap : Map<String,RSGroupInfo> in method private installNewMaps(newRSGroupMap Map<String,RSGroupInfo>, newTableMap Map<TableName,String>) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute RSGroupAdminEndpoint : RSGroupAdminEndpoint to rsGroupAdminEndpoint : RSGroupAdminEndpoint in class org.apache.hadoop.hbase.rsgroup.TestRSGroups | From | To | |
| Rename Attribute hasChanged : boolean to changed : boolean in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl.DefaultServerUpdater | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type newGroupMap : HashMap<String,RSGroupInfo> to newRSGroupMap : Map<String,RSGroupInfo> in method private installNewMaps(newRSGroupMap Map<String,RSGroupInfo>, newTableMap Map<TableName,String>) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To | |
| Extract Method | 4 | ||
| Extract Method private installNewMaps(newRSGroupMap Map<String,RSGroupInfo>, newTableMap Map<TableName,String>) : void extracted from private flushConfig(newGroupMap Map<String,RSGroupInfo>) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To | |
| Extract Method private updateCacheOfRSGroups(currentGroups Set<String>) : void extracted from private refresh(forceOnline boolean) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To | |
| Extract Method private updateCacheOfRSGroups(currentGroups Set<String>) : void extracted from private flushConfig(newGroupMap Map<String,RSGroupInfo>) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To | |
| Extract Method private installNewMaps(newRSGroupMap Map<String,RSGroupInfo>, newTableMap Map<TableName,String>) : void extracted from private refresh(forceOnline boolean) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter newGroupMap : Map<String,RSGroupInfo> to newRSGroupMap : Map<String,RSGroupInfo> in method private installNewMaps(newRSGroupMap Map<String,RSGroupInfo>, newTableMap Map<TableName,String>) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To |