[ 
https://issues.apache.org/jira/browse/GEODE-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anilkumar Gingade updated GEODE-782:
------------------------------------
    Component/s: functions

> RegionFunctionContext.getFilter() should never return null
> ----------------------------------------------------------
>
>                 Key: GEODE-782
>                 URL: https://issues.apache.org/jira/browse/GEODE-782
>             Project: Geode
>          Issue Type: Wish
>          Components: functions
>            Reporter: Rafal Glowinski
>            Priority: Minor
>
> 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 know that current behaviour should remain unchanged due 
> to backward compatibility, but maybe current getFilter() method could be made 
> @Deprecated and new one introduced?
> 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)

Reply via email to