SIGN IN SIGN UP
google / guava UNCLAIMED

Google core libraries for Java

0 0 80 Java

Use a better `hashCode` for the result of `CaseFormat.converterTo`.

Using XOR here meant that the `hashCode` of `A.converterTo(B)` was the same as the `hashCode` of `B.converterTo(A)`. (It also meant that the `hashCode` of `A.converterTo(A)` was 0, though that probably doesn't often matter).

RELNOTES=n/a
PiperOrigin-RevId: 839820133
É
Éamonn McManus committed
07ad9feb64d90c322d8cb2df63f3bd77a8f3df98
Parent: a863328
Committed by Google Java Core Libraries <jake-team+copybara@google.com> on 12/3/2025, 6:46:33 PM