public boolean equals()

in src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java [301:316]


    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }

        if (!(obj instanceof Xpp3Dom)) {
            return false;
        }

        Xpp3Dom dom = (Xpp3Dom) obj;

        return !(name == null ? dom.name != null : !name.equals(dom.name))
                && !(value == null ? dom.value != null : !value.equals(dom.value))
                && !(attributes == null ? dom.attributes != null : !attributes.equals(dom.attributes))
                && !(childList == null ? dom.childList != null : !childList.equals(dom.childList));
    }