Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5649

Use Commons Lang's Validate to intercept invalid input

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.9
    • Component/s: None
    • Labels:
      None

      Description

      In several spots of Maven Core IAE is thrown where an argument is null. This should be turned into NullPointerException since JDK adheres to is and the description of this exception indicates that and Effective Java does that too.

      I possible fix version could next minor: 3.3. Is no one is opposed it could even be 3.2.2.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                michael-o Michael Osipov
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: