HBASE-15632 Undo the checking of lastStoreFlushTimeMap.isEmpty() introduced in HBASE-13145 (Huaxiang Sun)

This commit is contained in:
Matteo Bertozzi 2016-04-12 11:35:18 -07:00
parent e31361dcb8
commit 59bf00562c
1 changed files with 1 additions and 2 deletions

View File

@ -1659,8 +1659,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
@Override
public long getEarliestFlushTimeForAllStores() {
return lastStoreFlushTimeMap.isEmpty() ? Long.MAX_VALUE : Collections.min(lastStoreFlushTimeMap
.values());
return Collections.min(lastStoreFlushTimeMap.values());
}
@Override