ConstraintLocation does not specify equals() and hashCode()

Description

ConstraintLocation was merged in one class in HV-645, but the hashCode() and equals() were not implemented.
Due to this, in ValidatorImpl #929

fails to recognize that two paths that are identical, are equal.

My particular case is using the JSF Mojarra application with latest hibernate-validator, and having a getter in backing bean annotated with some JSR 303 validation annotation.

equals() and hashCode() should be added as they were present in BeanConstraintLocation.

Working fine in 5.0.3.Final, for example.

Environment

None

Status

Assignee

Hardy Ferentschik

Reporter

Oskars Vilitis

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

5.1.2.Final

Priority

Major
Configure