Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.coverage')
-rw-r--r--plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/TestUnitCache.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/TestUnitCache.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/TestUnitCache.java
index 380b6a49e69..97ac2faf499 100644
--- a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/TestUnitCache.java
+++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/TestUnitCache.java
@@ -36,7 +36,7 @@ public class TestUnitCache implements ITestUnitProvider {
HASHMAP_SIZE);
private int lastId;
- private final HashBiMap<Integer, String> idToNameCache = new HashBiMap<Integer, String>(HASHMAP_SIZE);
+ private final HashBiMap<Integer, String> idToNameCache;
private final ITestUnitStore testUnitStore;
private boolean ensurePopulatedRanOnce;
@@ -44,6 +44,7 @@ public class TestUnitCache implements ITestUnitProvider {
public TestUnitCache(ITestUnitStore testUnitStore) {
super();
+ this.idToNameCache = HashBiMap.create(HASHMAP_SIZE);
this.lastId = 0;
this.ensurePopulatedRanOnce = false;
this.cacheIsDirty = false;

Back to the top