private boolean equals(ArtifactPlan other) { if (dest != null ? !dest.equals(other.dest) : other.dest != null) { return false; } return !(src != null ? !src.equals(other.src) : other.src != null) && artifactType.equals(other.artifactType); }