You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stephane Landelle (JIRA)" <ji...@apache.org> on 2008/03/25 12:47:25 UTC

[jira] Created: (JCR-1498) ManageableCollectionUtil should support Map and HashMap

ManageableCollectionUtil should support Map and HashMap
-------------------------------------------------------

                 Key: JCR-1498
                 URL: https://issues.apache.org/jira/browse/JCR-1498
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-ocm
    Affects Versions: 1.5
            Reporter: Stephane Landelle


ManageableCollectionUtil doesn't supports Map and HashMap.

just add :

if (collectionClass.equals(Map.class) || collectionClass.equals(HashMap.class)) {
	return new ManagedHashMap();
}

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


[jira] Updated: (JCR-1498) ManageableCollectionUtil should support Map and HashMap

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-1498:
-------------------------------

    Fix Version/s:     (was: 1.5)

> ManageableCollectionUtil should support Map and HashMap
> -------------------------------------------------------
>
>                 Key: JCR-1498
>                 URL: https://issues.apache.org/jira/browse/JCR-1498
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-ocm
>    Affects Versions: 1.5
>            Reporter: Stephane Landelle
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> ManageableCollectionUtil doesn't supports Map and HashMap.
> just add :
> if (collectionClass.equals(Map.class) || collectionClass.equals(HashMap.class)) {
> 	return new ManagedHashMap();
> }

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


[jira] Closed: (JCR-1498) ManageableCollectionUtil should support Map and HashMap

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Lombart closed JCR-1498.
-----------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.5

Duplicate of 1339

> ManageableCollectionUtil should support Map and HashMap
> -------------------------------------------------------
>
>                 Key: JCR-1498
>                 URL: https://issues.apache.org/jira/browse/JCR-1498
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-ocm
>    Affects Versions: 1.5
>            Reporter: Stephane Landelle
>             Fix For: 1.5
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> ManageableCollectionUtil doesn't supports Map and HashMap.
> just add :
> if (collectionClass.equals(Map.class) || collectionClass.equals(HashMap.class)) {
> 	return new ManagedHashMap();
> }

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