why?

that cache will be used now and there in the localizer.
Because we also have support for not caching at all and then we have to test
the cache if it is null

we just have a protected factory method now for a cache implementation that
must be a map.


johan

On Mon, May 12, 2008 at 11:15 AM, Jan Kriesten <[EMAIL PROTECTED]>
wrote:

>
> hi johan,
>
>  I will also open up Localizer api a bit more so that you can override the
> > cache that is used:
> >
>
> please make sure, that you also remove the direct access on the cache to
> check if it contains a certain key:
>
> // Value not found are cached as well (value = null)
> if ((cacheKey != null) && cache.containsKey(cacheKey))
>
>
> Best regards, --- Jan.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to