aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java6
1 files changed, 3 insertions, 3 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 f80e5d1837..ecbfa74e66 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 @@ public final class DfsPackFile extends BlockBasedFile {
* 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();
}
/**