You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/23 22:21:00 UTC
[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)