]> source.dussan.org Git - jgit.git/commit
Permit AnyObjectTo to compareTo AnyObjectId 26/1026/1
authorShawn O. Pearce <spearce@spearce.org>
Thu, 1 Jul 2010 02:07:36 +0000 (19:07 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 1 Jul 2010 02:07:36 +0000 (19:07 -0700)
commit2489088235543732ee0874a090a98b344255a9a7
treeef84990ab19d5f27f48c4b961644de6cb4a9d3b6
parentd04b7972d891a51b4b4c09128431961fece52e75
Permit AnyObjectTo to compareTo AnyObjectId

Assume that the argument of compareTo won't be mutated while we
are doing the compare, and support the wider AnyObjectId type so
MutableObjectId is suitable on either side of the compareTo call.

Change-Id: I2a63a496c0a7b04f0e5f27d588689c6d5e149d98
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java