You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Rafal Glowinski (JIRA)" <ji...@apache.org> on 2016/01/16 21:17:39 UTC

[jira] [Created] (GEODE-782) RegionFunctionContext.getFilter() should never return null

Rafal Glowinski created GEODE-782:
-------------------------------------

             Summary: RegionFunctionContext.getFilter() should never return null
                 Key: GEODE-782
                 URL: https://issues.apache.org/jira/browse/GEODE-782
             Project: Geode
          Issue Type: Wish
            Reporter: Rafal Glowinski


Currently, RegionFunctionContext.getFilter() returns null reference if function has been called without providing any keys to filter. 

I think that it would be much better to return Collections.EMPTY_SET instead so that we should not check filter for null reference whenever we write custom functions.

I would be happy to implement it myself to get started with Geode OSS.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)