Use Java 8 cuteness for hashCode()/equals()

Description

what's your take on this?

It would make our hashCode() and equals() implementations less verbose and less error prone.

It's not the first time I think about it while updating some of our hashCode() implementations and Marko suggested it to.

Environment

None

Status

Assignee

Unassigned

Reporter

Guillaume Smet

Labels

None

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

Priority

Minor
Configure