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


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.

Reply via email to