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

Charlie Black closed GEODE-4012.
--------------------------------

Currently all of the usages of 
CacheableWrapperFactory.GetRegisteredKeyTypeIds() are in tests since the API 
returns a Collection of UNIT32 it seems reasonable that the unit test developer 
wanted to use types.    Closing issue as won't fix.   If you feel that is 
something that needs to be done we can always reopen.

> Move to var for all variables that whose type can be inferred
> -------------------------------------------------------------
>
>                 Key: GEODE-4012
>                 URL: https://issues.apache.org/jira/browse/GEODE-4012
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Mark Hanson
>            Priority: Minor
>
> In the code, we have things like the following...
>       ICollection<UInt32> keyTypeIds =         
> CacheableWrapperFactory.GetRegisteredKeyTypeIds();
> to       
> var keyTypeIds =  CacheableWrapperFactory.GetRegisteredKeyTypeIds();
>  
>  This will make code far easier to refactor and avoid simple declaration 
> mistakes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to