Merge pull request #7 from hgschmie/master

Fix PMD violations in hashCode and equals.
local fixes