[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6983) remove common-collections dependency

Strong Liu (JIRA) noreply at atlassian.com
Thu Jan 19 03:21:09 EST 2012


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45169#comment-45169 ] 

Strong Liu commented on HHH-6983:
---------------------------------

we need a hard key, weak value map to replace _new ReferenceMap( ReferenceMap.HARD, ReferenceMap.WEAK )_ used by _PersistenceContext_

> remove common-collections dependency
> ------------------------------------
>
>                 Key: HHH-6983
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6983
>             Project: Hibernate ORM
>          Issue Type: Improvement
>          Components: core
>            Reporter: Strong Liu
>            Assignee: Strong Liu
>
> dhcp-14-237:hibernate-core stliu$ find . -name "*.java" | xargs grep "import org.apache.commons.collections"
> ./hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java:import org.apache.commons.collections.map.AbstractReferenceMap;
> ./hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java:import org.apache.commons.collections.map.ReferenceMap;
> ./hibernate-core/src/main/java/org/hibernate/internal/util/collections/SimpleMRUCache.java:import org.apache.commons.collections.map.LRUMap;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list