Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Avila2014-12-03 14:30:40 -0500
committerAngel Avila2014-12-03 14:30:40 -0500
commitac3fdd5390c2cc988a68187db0181e355b9c38b9 (patch)
tree1a9be1246197b442abc8c3330cccf3089576b1b4 /plugins/org.eclipse.osee.orcs.db.test
parentdbc11fed88c883d52d74b6a96d0fa51893d6f213 (diff)
downloadorg.eclipse.osee-ac3fdd5390c2cc988a68187db0181e355b9c38b9.tar.gz
org.eclipse.osee-ac3fdd5390c2cc988a68187db0181e355b9c38b9.tar.xz
org.eclipse.osee-ac3fdd5390c2cc988a68187db0181e355b9c38b9.zip
refinement[ats_ATS123880]: Cache OseeInfo values supporting a max staleness
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.db.test')
-rw-r--r--plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockSystemPreferences.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockSystemPreferences.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockSystemPreferences.java
index c4ebb06932..d732daa5cc 100644
--- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockSystemPreferences.java
+++ b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockSystemPreferences.java
@@ -12,6 +12,7 @@ package org.eclipse.osee.orcs.db.mocks;
import java.util.Set;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
+import org.eclipse.osee.framework.jdk.core.util.Strings;
import org.eclipse.osee.orcs.core.SystemPreferences;
/**
@@ -74,4 +75,9 @@ public class MockSystemPreferences implements SystemPreferences {
return false;
}
+ @Override
+ public String getCachedValue(String key, long maxStaleness) throws OseeCoreException {
+ return Strings.emptyString();
+ }
+
}

Back to the top