mirror of https://github.com/apache/maven.git
prevent NPE in equals()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349699 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1bd7f792fc
commit
b392f199fb
|
@ -305,7 +305,7 @@ public class DefaultArtifact
|
|||
{
|
||||
return false;
|
||||
}
|
||||
else if ( classifier == null ? a.getClassifier() != null : !a.getClassifier().equals( classifier ) )
|
||||
else if ( a.getClassifier() == null ? classifier != null : !a.getClassifier().equals( classifier ) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue