This PR simply ensures the fingerprint map is always wrapped inunmodifiableMap. This is actually unnecessary, as the map and all accesses to it are private to the class, where it can be trivially observed that writes to it are not occurring. Also, the tests confirm this.
However, adding it helps readability, and the overhead is minimal.
This PR simply ensures the fingerprint map is always wrapped in
unmodifiableMap
. This is actually unnecessary, as the map and all accesses to it are private to the class, where it can be trivially observed that writes to it are not occurring. Also, the tests confirm this.However, adding it helps readability, and the overhead is minimal.