[ 
https://issues.apache.org/jira/browse/SLING-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236619#comment-13236619
 ] 

Justin Edelson edited comment on SLING-2446 at 3/23/12 2:27 PM:
----------------------------------------------------------------

support added to JcrPropertyMap in r1304366
                
      was (Author: justinedelson):
    support added in r1304366
                  
> Add support for BigDecimal JCR values
> -------------------------------------
>
>                 Key: SLING-2446
>                 URL: https://issues.apache.org/jira/browse/SLING-2446
>             Project: Sling
>          Issue Type: New Feature
>          Components: JCR
>            Reporter: Jeff Young
>            Assignee: Justin Edelson
>              Labels: newbie, patch
>             Fix For: JCR Resource 2.1.0
>
>
> JCR supports the typehint {Decimal} for java.math.BigDecimal, but 
> JcrPropertyMap doesn't know about it so doing a map.get(propName, 
> BigDecimal.class) returns null.
> Likewise, you should be able to adapt a Property Resource into a BigDecimal.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to