]> source.dussan.org Git - jgit.git/commit
Remove getReverseIndexSize() from DfsPackDescription. 90/9690/2
authorColby Ranger <cranger@google.com>
Tue, 15 Jan 2013 22:56:48 +0000 (14:56 -0800)
committerColby Ranger <cranger@google.com>
Tue, 15 Jan 2013 23:12:55 +0000 (15:12 -0800)
commit3f0176aea6e77cb39be35f091100f8874693593d
tree631a4af62c1ed9d451bff1d1ba4446e4fcbe2489
parent510a60554696586301f1300f3fbef66cc0be1a8f
Remove getReverseIndexSize() from DfsPackDescription.

The method is used in only one location (DfsPackFile). Furthermore,
PackIndex already does an explicit computation of the size in
DfsPackFile. Simplify the DfsPackDescription by removing the method
and do the calculation similar to PackIndex.

Change-Id: I1391fdaaf7c2c3226d96ada1ae8647bcdff4794e
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsPackDescription.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsPackFile.java