Use Constants.OBJECT_ID_STRING_LENGTH instead of LEN * 2
commit1ec393e744cd16956cd800c9a56fcae19e150241
authorShawn O. Pearce <spearce@spearce.org>
Mon, 28 Dec 2009 23:55:49 +0000 (28 15:55 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 28 Dec 2009 23:58:37 +0000 (28 15:58 -0800)
treea4a1f34838e5d9e01df2ee4fd5f020d55ba06b5e
parentdb9f8126db23ba90be62777f26a692c7adbb10d9
Use Constants.OBJECT_ID_STRING_LENGTH instead of LEN * 2

A few locations were doing OBJECT_ID_LENGTH * 2 on their own, as
the old STR_LEN constant wasn't visible.  Replace them with the
new public constant OBJECT_ID_STRING_LENGTH.

Change-Id: Id39bddb52de8c65bb097de042e9d4ed99598201f
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/LockFile.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/RefWriter.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ReflogReader.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/BundleWriter.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/RefAdvertiser.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkRemoteObjectDatabase.java