Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28332

Type conversion is no need in method CompactionChecker.chore()

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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.
       

      private final Map<String, HRegion> onlineRegions = new ConcurrentHashMap<>(); 

      Attachments

        Issue Links

          Activity

            People

              guluo guluo
              guluo guluo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: