map bugs found by FindBugs
clear hashcode from nearcache
Merge pull request #1703 from enesakar/maintenance-findbugs-2

map bugs found by FindBugs