You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jens Deppe (JIRA)" <ji...@apache.org> on 2018/05/23 14:11:00 UTC

[jira] [Created] (GEODE-5246) QueryService.getIndexes should not return null when there are no indexes

Jens Deppe created GEODE-5246:
---------------------------------

             Summary: 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


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)