in apache-whisker-app/src/main/java/org/apache/creadur/whisker/app/analysis/ResourceDescription.java [81:102]
public boolean equals(final Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
final ResourceDescription other = (ResourceDescription) obj;
if (directory == null) {
if (other.directory != null) {
return false;
}
} else if (!directory.equals(other.directory)) {
return false;
}
if (resource == null) {
return other.resource == null;
} else return resource.equals(other.resource);
}