[ https://issues.apache.org/struts/browse/SHALE-440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guy Coleman updated SHALE-440: ------------------------------ Attachment: MEF.patch Patch to fix the issue, including a test. > Prefer BigDecimal(String) to BigDecimal(double) in > MockExpressionFactory.coerce() > --------------------------------------------------------------------------------- > > Key: SHALE-440 > URL: https://issues.apache.org/struts/browse/SHALE-440 > Project: Shale > Issue Type: Bug > Components: Test > Affects Versions: 1.0.4 > Reporter: Guy Coleman > Priority: Minor > Attachments: MEF.patch > > > When coercing a Number to a BigDecimal, MockExpressionFactory.coerce() uses > the BigDecimal(double) constructor. It should use BigDecimal(String) because > it produces more predictable results. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.