commit | 87bd4029cfdb77196748063277bd7bb172f5ff54 | [log] [tgz] |
---|---|---|
author | Jason Neufeld <jneufeld@google.com> | Tue Sep 16 18:40:11 2014 -0700 |
committer | Jason Neufeld <jneufeld@google.com> | Tue Sep 16 18:40:11 2014 -0700 |
tree | dea506a915ea4facdad29d36ef3f7a0d0cf933f5 | |
parent | e1458bba77d190202b98096aec63e5ee18ec0684 [diff] |
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: Jason Neufeld <jneufeld@google.com>