[ https://issues.apache.org/jira/browse/GEODE-5246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nabarun closed GEODE-5246. -------------------------- > 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 > Fix For: 1.7.0 > > Time Spent: 3h 40m > Remaining Estimate: 0h > > 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)