[
https://issues.apache.org/jira/browse/OPENNLP-887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joern Kottmann updated OPENNLP-887:
-----------------------------------
Assignee: Suneel Marthi (was: Joern Kottmann)
> Replace the Cache class with a LinkedHashMap
> --------------------------------------------
>
> Key: OPENNLP-887
> URL: https://issues.apache.org/jira/browse/OPENNLP-887
> Project: OpenNLP
> Issue Type: Improvement
> Reporter: Joern Kottmann
> Assignee: Suneel Marthi
> Priority: Minor
>
> The existing cache implementation could be replaced with
> java.util.LinkedHashMap. This change would replace our custom implementation
> with an implementation which will be maintained for us.
> To have the same behaviour as our implementation LinkedHashMap must be
> subclasses. The LinkedHashMap.removeEldestEntry must be overwritten and
> return true if size limit is reached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)