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)

Reply via email to