Comment From: srivatsa-cfp

@poutsma can you please review this PR

Comment From: poutsma

Merged, thank you.

I did remove the latter two null checks, because they were unnecessary. Any equals method should be able to deal with null parameters.