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

EqualsBuilder don't compare BigDecimals correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.4
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: