[
https://issues.apache.org/jira/browse/CMIS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Hübel resolved CMIS-284.
-----------------------------
Resolution: Fixed
Fix Version/s: 0.2.0-incubating
Was fixed with several cleanups. Thanks for prvoding the patch.
> [patch] fix class cast exception
> --------------------------------
>
> Key: CMIS-284
> URL: https://issues.apache.org/jira/browse/CMIS-284
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-server-inmemory
> Environment: ubuntu 10.10 java 1.6.17
> Reporter: Dave Brosius
> Priority: Minor
> Fix For: 0.2.0-incubating
>
> Attachments: classcast_ex.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> code attempts to cast a Long to a Double.
> - return Double.valueOf(((Integer)
> lValue).doubleValue()).compareTo((Double) rVal);
> + return Double.valueOf(((Integer)
> lValue).doubleValue()).compareTo(Double.valueOf(((Long)rVal).longValue()));
> patch fixes
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.