View | Details | Raw Unified | Return to bug 62287
Collapse All | Expand All

(-)java/org/apache/el/ValueExpressionImpl.java (-2 / +8 lines)
Lines 118-125 Link Here
118
     */
118
     */
119
    @Override
119
    @Override
120
    public boolean equals(Object obj) {
120
    public boolean equals(Object obj) {
121
        return (obj instanceof ValueExpressionImpl && obj.hashCode() == this
121
        if (!(obj instanceof ValueExpressionImpl)) {
122
                .hashCode());
122
            return false;
123
        }
124
        if (obj.hashCode() != this.hashCode()) {
125
            return false;
126
        }
127
128
        return (this.getNode().equals(((ValueExpressionImpl) obj).getNode()));
123
    }
129
    }
124
130
125
    /*
131
    /*

Return to bug 62287