]> source.dussan.org Git - jgit.git/commitdiff
DfsPackFile: Remove unused parameter from loadReverseIdx method 67/150667/4
authorDavid Pursehouse <david.pursehouse@gmail.com>
Mon, 7 Oct 2019 01:04:27 +0000 (10:04 +0900)
committerThomas Wolf <thomas.wolf@paranor.ch>
Mon, 14 Oct 2019 19:39:15 +0000 (15:39 -0400)
Change-Id: I2373084c8b40ebd6f432806dddc8633a76938e80
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java

index 6c69019e037580fc6ce323d44ffc44255f0f50c0..d0f9b1c1f4c7ede03bccb65932649027664d5997 100644 (file)
@@ -261,7 +261,7 @@ public final class DfsPackFile extends BlockBasedFile {
                        DfsBlockCache.Ref<PackReverseIndex> revref = cache.getOrLoadRef(
                                        revKey,
                                        REF_POSITION,
-                                       () -> loadReverseIdx(ctx, revKey, idx));
+                                       () -> loadReverseIdx(revKey, idx));
                        PackReverseIndex revidx = revref.get();
                        if (reverseIndex == null && revidx != null) {
                                reverseIndex = revidx;
@@ -1057,7 +1057,7 @@ public final class DfsPackFile extends BlockBasedFile {
        }
 
        private DfsBlockCache.Ref<PackReverseIndex> loadReverseIdx(
-                       DfsReader ctx, DfsStreamKey revKey, PackIndex idx) {
+                       DfsStreamKey revKey, PackIndex idx) {
                PackReverseIndex revidx = new PackReverseIndex(idx);
                reverseIndex = revidx;
                return new DfsBlockCache.Ref<>(