[jira] [Updated] (GEODE-5246) QueryService.getIndexes should not return null when there are no indexes
[ https://issues.apache.org/jira/browse/GEODE-5246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated GEODE-5246: -- Labels: pull-request-available (was: ) > QueryService.getIndexes should not return null when there are no indexes > > > Key: GEODE-5246 > URL: https://issues.apache.org/jira/browse/GEODE-5246 > Project: Geode > Issue Type: Improvement > Components: querying >Reporter: Jens Deppe >Assignee: Juan José Ramos Cassella >Priority: Major > Labels: pull-request-available > > I was surprised to discover that {{QueryService.getIndexes(region)}} returned > null when no indexes were defined. It seems like it would be cleaner (and > less surprising) to return an empty collection. The doc says nothing about > returning {{null}}. (Please fix the API and not the doc :) ) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (GEODE-5246) QueryService.getIndexes should not return null when there are no indexes
[ https://issues.apache.org/jira/browse/GEODE-5246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated GEODE-5246: -- Labels: pull-request-available (was: ) > QueryService.getIndexes should not return null when there are no indexes > > > Key: GEODE-5246 > URL: https://issues.apache.org/jira/browse/GEODE-5246 > Project: Geode > Issue Type: Improvement > Components: querying >Reporter: Jens Deppe >Assignee: Juan José Ramos Cassella >Priority: Major > Labels: pull-request-available > > I was surprised to discover that {{QueryService.getIndexes(region)}} returned > null when no indexes were defined. It seems like it would be cleaner (and > less surprising) to return an empty collection. The doc says nothing about > returning {{null}}. (Please fix the API and not the doc :) ) -- This message was sent by Atlassian JIRA (v7.6.3#76005)