From 99385e7aee1679a4c8eb6c733abe07a1eef111fe Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Thu, 15 Sep 2011 16:22:33 +0000 Subject: [PATCH] Make a field static. Resolves comments by Miron on r194. --- src/com/google/bitcoin/store/BoundedOverheadBlockStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/google/bitcoin/store/BoundedOverheadBlockStore.java b/src/com/google/bitcoin/store/BoundedOverheadBlockStore.java index 396f974d..538ca53d 100644 --- a/src/com/google/bitcoin/store/BoundedOverheadBlockStore.java +++ b/src/com/google/bitcoin/store/BoundedOverheadBlockStore.java @@ -61,7 +61,7 @@ public class BoundedOverheadBlockStore implements BlockStore { // // We don't care about the value in this cache. It is always notFoundMarker. Unfortunately LinkedHashSet does not // provide the removeEldestEntry control. - private final StoredBlock notFoundMarker = new StoredBlock(null, null, -1); + private static final StoredBlock notFoundMarker = new StoredBlock(null, null, -1); private LinkedHashMap notFoundCache = new LinkedHashMap() { @Override protected boolean removeEldestEntry(Map.Entry entry) {