guluo created HBASE-28332:
-----------------------------

             Summary: Type conversion is no need in method 
CompactionChecker.chore()
                 Key: HBASE-28332
                 URL: https://issues.apache.org/jira/browse/HBASE-28332
             Project: HBase
          Issue Type: Improvement
          Components: Compaction
            Reporter: guluo


In method CompactionChecker.chore(), we iterate the map named onlineRegions 
,which the type of value is HRegion, So we do not need to type conversion from 
Region to HRegion.
 
{code:java}
private final Map<String, HRegion> onlineRegions = new ConcurrentHashMap<>(); 
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to