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

StringUtils.isNumeric returns false on negative value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.2
    • None
    • lang.*
    • None

    Description

      StringUtils.isNumeric returns false for negative values.

      So this unit test line will break the test:

      assertTrue(StringUtils.isNumeric("-1"));

      Attachments

        Activity

          People

            Unassigned Unassigned
            ajmoraal Arjan Moraal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: