[ 
https://issues.apache.org/jira/browse/WICKET-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733634#action_12733634
 ] 

Peter Ertl commented on WICKET-2385:
------------------------------------

I recommend

        return new BigDecimal(Long.toString(number.longValue()));

and

        return new BigDecimal(Integer.toString(number.intValue()));


> BigDecimalConverter uses jdk5
> -----------------------------
>
>                 Key: WICKET-2385
>                 URL: https://issues.apache.org/jira/browse/WICKET-2385
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Peter Ertl
>            Priority: Critical
>
> BigDecimalConverter uses
>   new BigDecimal(long) which is @since 1.5
> wicket will not run in a jre 1.4 with this...

-- 
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