diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java index aeb0812c4..bee5ff9ef 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java @@ -219,7 +219,7 @@ public abstract class AnyObjectId implements Comparable { return abbr.prefixCompare(this) == 0; } - public int hashCode() { + public final int hashCode() { return w2; }