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


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.

Reply via email to