public boolean equals()

in apache-whisker-scan/src/main/java/org/apache/creadur/whisker/scan/FromFileSystem.java [317:341]


            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) {
                    if (other.name != null) {
                        return false;
                    }
                } else if (!name.equals(other.name)) {
                    return false;
                }
                return true;
            }