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

Document v3.x changes to Validate API

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.0.1, 3.1
    • Fix Version/s: 3.2
    • Component/s: lang.*
    • Labels:
      None

      Description

      Validate.notNull() throws an IllegalArgumentException in commons-lang 2.6, but in 3.0.1 it throws a NullPointerException. I can't find any note about this in the release notes. I think this is a regression, because it could break others code.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ojs Oliver Siegmar
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: