in vault-rcp/src/main/java/org/apache/jackrabbit/vault/rcp/impl/RcpTaskImpl.java [345:386]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
RcpTaskImpl other = (RcpTaskImpl) obj;
if (dst == null) {
if (other.dst != null)
return false;
} else if (!dst.equals(other.dst))
return false;
if (excludes == null) {
if (other.excludes != null)
return false;
} else if (!excludes.equals(other.excludes))
return false;
if (!areFiltersEqual(filter, other.filter)) {
return false;
}
if (id == null) {
if (other.id != null)
return false;
} else if (!id.equals(other.id))
return false;
if (recursive != other.recursive)
return false;
if (src == null) {
if (other.src != null)
return false;
} else if (!src.equals(other.src))
return false;
if (!areCredentialsEqual(srcCreds, other.srcCreds)) {
return false;
}
// equals for RCP
if (!areRepositoryCopiersEqual(rcp, other.rcp)) {
return false;
}
return true;
}