[ https://issues.apache.org/jira/browse/GEODE-5246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568447#comment-16568447 ]
ASF subversion and git services commented on GEODE-5246: -------------------------------------------------------- Commit 8abaf0521d4aeaa499805862720d967daf31bc35 in geode's branch refs/heads/develop from Juan José Ramos [ https://gitbox.apache.org/repos/asf?p=geode.git;h=8abaf05 ] GEODE-5246: Changed DefaultQueryService to return an empty list when no indexes are defined > 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 > 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)