aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefAdvertiser.java
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2009-12-28 16:54:43 +0100
committerRobin Rosenberg <robin.rosenberg@dewire.com>2009-12-28 16:54:43 +0100
commitdb9f8126db23ba90be62777f26a692c7adbb10d9 (patch)
tree4b642c02b1327e8a5367cf8af7935673c3aefa17 /org.eclipse.jgit/src/org/eclipse/jgit/transport/RefAdvertiser.java
parent2086fdaedd5e71621470865c34ad075d2668af99 (diff)
downloadjgit-db9f8126db23ba90be62777f26a692c7adbb10d9.tar.gz
jgit-db9f8126db23ba90be62777f26a692c7adbb10d9.zip
Get rid of a duplicate constant for SHA-1 length
Since Constants.OBJECT_ID_LENGTH is a compile time constant we can be sure that it will always be inlined. The same goes for the associated constant STR_LEN which is now refactored to the Constant class and given a name better suited for wider use. Change-Id: I03f52131e64edcd0aa74bbbf36e7d42faaf4a698 Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport/RefAdvertiser.java')
0 files changed, 0 insertions, 0 deletions