From bca00aa5f464e1bc3aa00d4b757554b54f35ddb2 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Mon, 7 Oct 2019 10:04:27 +0900 Subject: [PATCH] DfsPackFile: Remove unused parameter from loadReverseIdx method Change-Id: I2373084c8b40ebd6f432806dddc8633a76938e80 Signed-off-by: David Pursehouse --- .../org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java index 6c69019e03..d0f9b1c1f4 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java @@ -261,7 +261,7 @@ public final class DfsPackFile extends BlockBasedFile { DfsBlockCache.Ref 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 loadReverseIdx( - DfsReader ctx, DfsStreamKey revKey, PackIndex idx) { + DfsStreamKey revKey, PackIndex idx) { PackReverseIndex revidx = new PackReverseIndex(idx); reverseIndex = revidx; return new DfsBlockCache.Ref<>( -- 2.39.5