public boolean equals(Object obj) { return obj instanceof ArtifactSourceItem && myArtifact.equals(((ArtifactSourceItem) obj).myArtifact); }