public boolean equals()

in vault-validation/src/main/java/org/apache/jackrabbit/vault/validation/spi/ValidationMessage.java [153:185]


    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        ValidationMessage other = (ValidationMessage) obj;
        if (basePath == null) {
            if (other.basePath != null)
                return false;
        } else if (!basePath.equals(other.basePath))
            return false;
        if (column != other.column)
            return false;
        if (filePath == null) {
            if (other.filePath != null)
                return false;
        } else if (!filePath.equals(other.filePath))
            return false;
        if (line != other.line)
            return false;
        if (!message.equals(other.message))
            return false;
        if (nodePath == null) {
            if (other.nodePath != null)
                return false;
        } else if (!nodePath.equals(other.nodePath))
            return false;
        if (severity != other.severity)
            return false;
        return true;
    }