Proposed change aimed to keep coherence between variable declaration and static initialization code, which inserts 9 values, not 8, into these two variables.
Comment From: sbrannen
Although changing the expectedMaxSize
supplied to the IdentityHashMap(int)
constructor from 8 to 9 likely will not change the actual initial (and final) capacity of the map, I don't see any harm in aligning the expected maximum size with the known maximum size for an IdentityHashMap
.
Comment From: sbrannen
This has been merged into main
.
Thanks for your first contribution to the Spring Framework!