Equals method should not assume anything about the type of its argument
commit06fc279177019ee47d57f8e8ad1b96c2e06dbdfa
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 29 Apr 2009 21:47:29 +0000 (29 23:47 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 29 Apr 2009 21:51:06 +0000 (29 14:51 -0700)
tree23cb0aa6568d742153a118cd1568b2a067389a47
parent4af41e304039dd8f25ad55d4d4ae3051575ced66
Equals method should not assume anything about the type of its argument

The equals(Object o) method shouldn't make any assumptions about the
type of o. It should simply return false if o is not the same type as
this.

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/AnyObjectId.java