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:
Brett Leslie Porter 2005-11-29 10:36:47 +00:00
parent 1bd7f792fc
commit b392f199fb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}