Move hex parsing functions to RawParseUtil, accept upper case
commite9198d92e54ce0749002d6b170a2913ac2e50622
authorShawn O. Pearce <spearce@spearce.org>
Thu, 4 Jun 2009 21:43:57 +0000 (4 14:43 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 15 Jun 2009 19:06:31 +0000 (15 21:06 +0200)
tree39959e04fc365f2fe98ab3317897e8bba43c6ee4
parente86657825a2a9efc40a11a1e12890fd026fbc7a3
Move hex parsing functions to RawParseUtil, accept upper case

This way we can reuse them beyond just the ObjectId family of classes.

We also now accept upper case hex digits in object ids.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.test/tst/org/spearce/jgit/lib/T0001_ObjectId.java
org.spearce.jgit/src/org/spearce/jgit/lib/AbbreviatedObjectId.java
org.spearce.jgit/src/org/spearce/jgit/lib/AnyObjectId.java
org.spearce.jgit/src/org/spearce/jgit/lib/MutableObjectId.java
org.spearce.jgit/src/org/spearce/jgit/lib/ObjectId.java
org.spearce.jgit/src/org/spearce/jgit/util/RawParseUtils.java