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

map bugs found by FindBugs