You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Eric Shu (JIRA)" <ji...@apache.org> on 2017/10/18 18:36:00 UTC

[jira] [Created] (GEODE-3865) LocalRegionDataView.getRegionKeysForIteration needs to be refactored

Eric Shu created GEODE-3865:
-------------------------------

             Summary: LocalRegionDataView.getRegionKeysForIteration needs to be refactored
                 Key: GEODE-3865
                 URL: https://issues.apache.org/jira/browse/GEODE-3865
             Project: Geode
          Issue Type: Bug
          Components: regions
            Reporter: Eric Shu


According to javadoc, getRegionKeysForIteration should return set of key in the region. However, LocalRegionDataView implementation returns a set of RegionEntry instead.
  /**
   * 
   * @param currRegion
   * @return set of keys in the region
   */
  Collection<?> getRegionKeysForIteration(LocalRegion currRegion);

Implementation in LocalRegionDataView:
  public Collection<?> getRegionKeysForIteration(LocalRegion currRegion) {
    // return currRegion.getRegionKeysForIteration();
    return currRegion.getRegionMap().regionEntries();
  }




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)