in src/main/java/org/apache/sling/api/uri/SlingUriBuilder.java [1216:1256]
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null) return false;
if (getClass() != obj.getClass()) return false;
ImmutableSlingUri other = (ImmutableSlingUri) obj;
if (extension == null) {
if (other.getData().extension != null) return false;
} else if (!extension.equals(other.getData().extension)) return false;
if (fragment == null) {
if (other.getData().fragment != null) return false;
} else if (!fragment.equals(other.getData().fragment)) return false;
if (host == null) {
if (other.getData().host != null) return false;
} else if (!host.equals(other.getData().host)) return false;
if (pathParameters == null) {
if (other.getData().pathParameters != null) return false;
} else if (!pathParameters.equals(other.getData().pathParameters)) return false;
if (port != other.getData().port) return false;
if (query == null) {
if (other.getData().query != null) return false;
} else if (!query.equals(other.getData().query)) return false;
if (resourcePath == null) {
if (other.getData().resourcePath != null) return false;
} else if (!resourcePath.equals(other.getData().resourcePath)) return false;
if (scheme == null) {
if (other.getData().scheme != null) return false;
} else if (!scheme.equals(other.getData().scheme)) return false;
if (schemeSpecificPart == null) {
if (other.getData().schemeSpecificPart != null) return false;
} else if (!schemeSpecificPart.equals(other.getData().schemeSpecificPart)) return false;
if (selectors == null) {
if (other.getData().selectors != null) return false;
} else if (!selectors.equals(other.getData().selectors)) return false;
if (suffix == null) {
if (other.getData().suffix != null) return false;
} else if (!suffix.equals(other.getData().suffix)) return false;
if (userInfo == null) {
if (other.getData().userInfo != null) return false;
} else if (!userInfo.equals(other.getData().userInfo)) return false;
return true;
}