You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/10/16 20:31:21 UTC

[jira] [Updated] (MNG-5649) Use Commons Lang's Validate to intercept invalid input

     [ https://issues.apache.org/jira/browse/MNG-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MNG-5649:
--------------------------------
    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|http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html] 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.

  was:
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|http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html] 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.


> Use Commons Lang's Validate to intercept invalid input
> ------------------------------------------------------
>
>                 Key: MNG-5649
>                 URL: https://issues.apache.org/jira/browse/MNG-5649
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 3.2.1
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>             Fix For: 3.3.9
>
>
> 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|http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html] 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)