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

BooleanUtils toBooleanObject javadoc does not match implementation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.3
    • 2.4
    • None
    • None

    Description

      The javadoc description for the BooleanUtils method toBooleanObject(String, String, String, String) states that it returns null if the input string does not match the true, false, or null string values. However, the implementation throws and IllegalArgumentException when the input string does not match the other string values.

      Attachments

        Activity

          People

            Unassigned Unassigned
            trippcr Corey Tripp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: