in apache-whisker-scan/src/main/java/org/apache/creadur/whisker/scan/FromFileSystem.java [317:336]
public boolean equals(final Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
final Work other = (Work) obj;
if (file == null) {
if (other.file != null)
return false;
} else if (!file.equals(other.file))
return false;
if (name == null) {
return other.name == null;
} else return name.equals(other.name);
}