MapState Default Value

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

MapState Default Value

Navneeth Krishnan
Hi,

Is there a reason behind removing the default value option in MapStateDescriptor? I was using it in the earlier version to initialize guava cache with loader etc and in the new version by default an empty map is returned.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: MapState Default Value

Timo Walther
I will loop in Stefan, who might know the answer.


Am 07.09.17 um 02:10 schrieb Navneeth Krishnan:
> Hi,
>
> Is there a reason behind removing the default value option in
> MapStateDescriptor? I was using it in the earlier version to
> initialize guava cache with loader etc and in the new version by
> default an empty map is returned.
>
> Thanks


Reply | Threaded
Open this post in threaded view
|

Re: MapState Default Value

Stefan Richter-2
I don’t know any better answer than: it was never implemented. But it could make sense, so there is no deeper reason from my point of view.

> Am 07.09.2017 um 14:49 schrieb Timo Walther <[hidden email]>:
>
> I will loop in Stefan, who might know the answer.
>
>
> Am 07.09.17 um 02:10 schrieb Navneeth Krishnan:
>> Hi,
>>
>> Is there a reason behind removing the default value option in MapStateDescriptor? I was using it in the earlier version to initialize guava cache with loader etc and in the new version by default an empty map is returned.
>>
>> Thanks
>
>