Commit 87bd4029 authored by Jason Neufeld's avatar Jason Neufeld
Browse files

Includes a MessageNano subclass's name's hashCode in hashCode calculations.



In the current implementation, a message with the same amount of null or
equal-valued fields as a different message type will have the same
hashCode. This adds more variety by including the hashCode of the
class's name in the hashCode calculations.

Change-Id: I284e3e6d198ad8037815948d1f65686465ffd623
Signed-off-by: default avatarJason Neufeld <jneufeld@google.com>
parent e1458bba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment