boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final MavenArtifactInfo that = (MavenArtifactInfo)o; if (myArtifactId != null ? !myArtifactId.equals(that.myArtifactId) : that.myArtifactId != null) return false; if (myClassNames != null ? !myClassNames.equals(that.myClassNames) : that.myClassNames != null) return false; if (myClassifier != null ? !myClassifier.equals(that.myClassifier) : that.myClassifier != null) return false; if (myGroupId != null ? !myGroupId.equals(that.myGroupId) : that.myGroupId != null) return false; if (myPackaging != null ? !myPackaging.equals(that.myPackaging) : that.myPackaging != null) return false; if (myRepositoryId != null ? !myRepositoryId.equals(that.myRepositoryId) : that.myRepositoryId != null) return false; if (myVersion != null ? !myVersion.equals(that.myVersion) : that.myVersion != null) return false; return true; }