You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/09/17 14:41:46 UTC
[jira] Assigned: (SLING-662) ValueMap#get(java.lang.String name, T
defaultValue) should support arrays transparently
[ https://issues.apache.org/jira/browse/SLING-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned SLING-662:
---------------------------------------
Assignee: Felix Meschberger
> ValueMap#get(java.lang.String name, T defaultValue) should support arrays transparently
> ---------------------------------------------------------------------------------------
>
> Key: SLING-662
> URL: https://issues.apache.org/jira/browse/SLING-662
> Project: Sling
> Issue Type: Improvement
> Components: JCR Resource
> Reporter: Tobias Bocanegra
> Assignee: Felix Meschberger
>
> when calling ValueMap.get("name", String[].class) and empty array is returned if the underlying jcr property is not
> multivalued. this is very inconvenient.
> imo get() for arrays or single values should work transparently regardless of the underlying property multivalueness.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.