in initializr-generator/src/main/java/io/spring/initializr/metadata/Repository.java [69:100]
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Repository other = (Repository) obj;
if (this.name == null) {
if (other.name != null) {
return false;
}
}
else if (!this.name.equals(other.name)) {
return false;
}
if (this.snapshotsEnabled != other.snapshotsEnabled) {
return false;
}
if (this.url == null) {
if (other.url != null) {
return false;
}
}
else if (!this.url.equals(other.url)) {
return false;
}
return true;
}