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 f80e5d183..ecbfa74e6 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 @@ -1051,11 +1051,11 @@ boolean hasObjectSizeIndex(DfsReader ctx) throws IOException { * no object size index or a problem loading it. */ int getObjectSizeIndexThreshold(DfsReader ctx) throws IOException { - PackObjectSizeIndex index = getObjectSizeIndex(ctx); - if (index == null) { + PackObjectSizeIndex idx = getObjectSizeIndex(ctx); + if (idx == null) { throw new IOException("Asking threshold of non-existing obj-size"); //$NON-NLS-1$ } - return index.getThreshold(); + return idx.getThreshold(); } /**