bjarkef/repo-plugin — comment on commit 6a5d470a77969eb0f9002b1e1ef61a140277d3f1
File: src/main/java/hudson/plugins/repo/RevisionState.java line 140
By bjarkef:

Yes, of cause, sorry.

I followed the advice here http://stackoverflow.com/questions/113511/hash-code-implementation, i.e. for an object choose 0 if the reference is null.

I agree that the hashCode() method could be better overall, however I was not aiming for a reimplementation, just fixing the NPE bug.