Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-393

EqualsBuilder don't compare BigDecimals correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None

      Description

      When comparing a BigDecimal, the comparing is made using equals, not compareTo, which is more appropriate in the case of BigDecimal.

        Attachments

        1. LANG-393.patch
          2 kB
          Henri Yandell

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                luishenriques Luis Henriques
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: