public boolean equals()

in src/main/java/org/apache/maven/shared/dependency/graph/internal/DirectScopeDependencySelector.java [89:111]


    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        DirectScopeDependencySelector other = (DirectScopeDependencySelector) obj;
        if (depth != other.depth) {
            return false;
        }
        if (scope == null) {
            if (other.scope != null) {
                return false;
            }
        } else if (!scope.equals(other.scope)) {
            return false;
        }
        return true;
    }