From: Terry Parker Date: Thu, 21 Jan 2016 21:00:45 +0000 (-0800) Subject: Remove unused variable from DfsBlockCache X-Git-Tag: v4.3.0.201603230630-rc1~44^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F64921%2F2;p=jgit.git Remove unused variable from DfsBlockCache Change-Id: I8ea167e44e9ebcac7ca08920e806d8bcb8188bf0 Signed-off-by: Terry Parker --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCache.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCache.java index 2e170a5d0f..ecd4b23c25 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCache.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCache.java @@ -185,14 +185,6 @@ public final class DfsBlockCache { for (int i = 0; i < loadLocks.length; i++) loadLocks[i] = new ReentrantLock(true /* fair */); - int eb = (int) (tableSize * .1); - if (64 < eb) - eb = 64; - else if (eb < 4) - eb = 4; - if (tableSize < eb) - eb = tableSize; - maxBytes = cfg.getBlockLimit(); maxStreamThroughCache = (long) (maxBytes * cfg.getStreamRatio()); blockSize = cfg.getBlockSize();