Skip to content

Commit

Permalink
Removed superfluous checksytle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
belugabehr committed Nov 16, 2019
1 parent 053622c commit 9187e8d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ private Map<String, RegionState> rsGroupGetRegionsInTransition(String groupName)
Map<TableName, Map<ServerName, List<RegionInfo>>> result = Maps.newHashMap();
RSGroupInfo rsGroupInfo = getRSGroupInfo(groupName);
Map<TableName, Map<ServerName, List<RegionInfo>>> assignments = Maps.newHashMap();
for (Map.Entry<RegionInfo, ServerName> entry:
for(Map.Entry<RegionInfo, ServerName> entry:
master.getAssignmentManager().getRegionStates().getRegionAssignments().entrySet()) {
TableName currTable = entry.getKey().getTable();
ServerName currServer = entry.getValue();
Expand All @@ -588,8 +588,8 @@ private Map<String, RegionState> rsGroupGetRegionsInTransition(String groupName)
}

Map<ServerName, List<RegionInfo>> serverMap = Maps.newHashMap();
for (ServerName serverName: master.getServerManager().getOnlineServers().keySet()) {
if (rsGroupInfo.getServers().contains(serverName.getAddress())) {
for(ServerName serverName: master.getServerManager().getOnlineServers().keySet()) {
if(rsGroupInfo.getServers().contains(serverName.getAddress())) {
serverMap.put(serverName, Collections.emptyList());
}
}
Expand Down

0 comments on commit 9187e8d

Please sign in to comment.