9ec0ec492222e55169d97c53bddd674f6dac8a52
Files Diff
- Added: 4
- Removed: 2
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable foundOne : boolean to onlineServers : Set<HostAndPort> in method public moveServers(hostPorts Set<HostAndPort>, srcGroup String, dstGroup String) : Set<HostAndPort> in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To | |
Rename Variable tmpServers : List<HostAndPort> to movedServers : Set<HostAndPort> in method public moveServers(servers Set<HostAndPort>, targetGroupName String) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer | From | To | |
Change Return Type | 2 | ||
Change Return Type boolean to Set<HostAndPort> in method public moveServers(hostPorts Set<HostAndPort>, srcGroup String, dstGroup String) : Set<HostAndPort> in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To | |
Change Return Type boolean to Set<HostAndPort> in method public moveServers(hostPorts Set<HostAndPort>, srcGroup String, dstGroup String) : Set<HostAndPort> in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManager | From | To | |
Rename Attribute | 1 | ||
Rename Attribute RSGroupInfoManager : RSGroupInfoManager to rsgroupInfoManager : RSGroupInfoManager in class org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer | From | To | |
Change Variable Type | 2 | ||
Change Variable Type tmpServers : List<HostAndPort> to movedServers : Set<HostAndPort> in method public moveServers(servers Set<HostAndPort>, targetGroupName String) : void in class org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer | From | To | |
Change Variable Type foundOne : boolean to onlineServers : Set<HostAndPort> in method public moveServers(hostPorts Set<HostAndPort>, srcGroup String, dstGroup String) : Set<HostAndPort> in class org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl | From | To | |
Extract Variable | 1 | ||
Extract Variable sourceGroupName : String in method public moveServers(servers Set<HostAndPort>, targetGroupName String) : void from class org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type servers : Set<HostAndPort> to servers : SortedSet<HostAndPort> in class org.apache.hadoop.hbase.rsgroup.RSGroupInfo | From | To | |
Change Attribute Type serversInTransition : ConcurrentMap<HostAndPort,String> to serversInTransition : NavigableMap<HostAndPort,String> in class org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer | From | To |