Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2011-08-11 23:10:35 -0400
committerRyan D. Brooks2011-08-11 23:10:35 -0400
commit835f165f765885da1fe335368cb5e6aa4dbb5cd8 (patch)
tree793903e86fb90ea6b9b2f298ce8e667f8cf3618f
parent7c9ba97bfae037d02a0f9446abc49675fbcad557 (diff)
downloadorg.eclipse.osee-835f165f765885da1fe335368cb5e6aa4dbb5cd8.tar.gz
org.eclipse.osee-835f165f765885da1fe335368cb5e6aa4dbb5cd8.tar.xz
org.eclipse.osee-835f165f765885da1fe335368cb5e6aa4dbb5cd8.zip
feature[ats_PMYWY]: Upgrade to use com.google.collect 1.0.0
-rw-r--r--features/org.eclipse.osee.framework.server.external.feature/feature.xml2
-rw-r--r--plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/TestUnitCache.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/features/org.eclipse.osee.framework.server.external.feature/feature.xml b/features/org.eclipse.osee.framework.server.external.feature/feature.xml
index 72a8e7115a..ffd72cca0c 100644
--- a/features/org.eclipse.osee.framework.server.external.feature/feature.xml
+++ b/features/org.eclipse.osee.framework.server.external.feature/feature.xml
@@ -33,7 +33,7 @@
<import plugin="org.apache.xml.resolver" version="1.2.0" match="compatible"/>
<import plugin="org.apache.xml.serializer" version="2.7.1" match="compatible"/>
<import plugin="org.eclipse.emf.ecore" version="2.3.2" match="greaterOrEqual"/>
- <import plugin="com.google.collect" version="0.8.0" match="compatible"/>
+ <import plugin="com.google.collect" version="1.0.0" match="greaterOrEqual"/>
<import plugin="com.google.inject" version="2.0.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.emf.ecore" version="2.5.0" match="greaterOrEqual"/>
<import plugin="org.antlr.runtime" version="3.0.0" match="greaterOrEqual"/>
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 380b6a49e6..97ac2faf49 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