You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2008/05/12 11:11:55 UTC

[jira] Closed: (WICKET-1618) Localizer API should be enhanced so that the cache implementation can be overwritten

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

Johan Compagner closed WICKET-1618.
-----------------------------------

    Resolution: Fixed

> Localizer API should be enhanced so that the cache implementation can be overwritten
> ------------------------------------------------------------------------------------
>
>                 Key: WICKET-1618
>                 URL: https://issues.apache.org/jira/browse/WICKET-1618
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.3
>            Reporter: Johan Compagner
>            Assignee: Johan Compagner
>             Fix For: 1.3.4, 1.4-M2
>
>
> 	/**
> 	 * Create a new cache, override this method if you want a different map to store the cache keys,
> 	 * for example a map that hold only the last X number of elements..
> 	 * 
> 	 * By default it uses the {@link ConcurrentHashMap}
> 	 * 
> 	 * @return cache
> 	 */
> 	protected Map newCache()
> 	{
> 		return new ConcurrentHashMap();
> 	}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.