Skip to content

Commit 3d173cb

Browse files
committed
use entryset
1 parent ab52ab0 commit 3d173cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3557,7 +3557,7 @@ public void updateRegionsInTransitionMetrics() {
35573557
}
35583558
if (LOG.isDebugEnabled() && ritsOverThreshold != null && !ritsOverThreshold.isEmpty()) {
35593559
StringBuilder sb = new StringBuilder();
3560-
for (String regionName: ritsOverThreshold.keySet()) {
3560+
for (Map.Entry<String, RegionState> regionName: ritsOverThreshold.entrySet()) {
35613561
sb.append(regionName).append(":")
35623562
.append(ritsOverThreshold.get(regionName).getState().name()).append("\n");
35633563
}

0 commit comments

Comments
 (0)