[
https://issues.apache.org/jira/browse/MNG-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954782#comment-14954782
]
Michael Osipov edited comment on MNG-5649 at 10/13/15 1:20 PM:
---------------------------------------------------------------
Interesting to say is that this ticket has been open for a long time and no one
except me and Jason did ever comment on it. Removing Guava would require to
another ticket first. I am good to do that.
was (Author: michael-o):
Interesting to says that this ticket has been open for a long time and no one
except me and Jason did ever comment on it. Removing Guava would require to
another ticket first. I am good to do that.
> Stop abusing IllegalArgumentException in case of null and use Guava's
> Preconditions
> -----------------------------------------------------------------------------------
>
> Key: MNG-5649
> URL: https://issues.apache.org/jira/browse/MNG-5649
> Project: Maven
> Issue Type: Bug
> Affects Versions: 3.2.1
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Fix For: 3.3.7
>
>
> 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)