[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
Attachments: classcast_ex.diff
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.