From: David Pursehouse Date: Mon, 7 Oct 2019 01:04:27 +0000 (+0900) Subject: DfsPackFile: Remove unused parameter from loadReverseIdx method X-Git-Tag: v5.6.0.201911271000-m3~82 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bca00aa5f464e1bc3aa00d4b757554b54f35ddb2;p=jgit.git DfsPackFile: Remove unused parameter from loadReverseIdx method Change-Id: I2373084c8b40ebd6f432806dddc8633a76938e80 Signed-off-by: David Pursehouse --- 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<>(