Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2012-05-22 15:32:24 -0400
committerRoberto E. Escobar2012-05-22 15:32:24 -0400
commitc72cba75ecc1d256fd1e0dca729517ff52dc4467 (patch)
tree897651d5b88fade3547ca5445c6768f66e8aa287 /plugins/org.eclipse.osee.framework.core.message/src/org
parent04c3aa09abe83729a38af78dde6bed4530b66bb1 (diff)
downloadorg.eclipse.osee-c72cba75ecc1d256fd1e0dca729517ff52dc4467.tar.gz
org.eclipse.osee-c72cba75ecc1d256fd1e0dca729517ff52dc4467.tar.xz
org.eclipse.osee-c72cba75ecc1d256fd1e0dca729517ff52dc4467.zip
bug[ats_9YVXA]: Add cache checks to IOseeTypeFactories0.9.9.v201205221941_SR6
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.message/src/org')
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TransactionCacheUpdateResponse.java3
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TransactionCacheUpdateResponseTranslator.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TransactionCacheUpdateResponse.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TransactionCacheUpdateResponse.java
index 694b3dda48..70d704446b 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TransactionCacheUpdateResponse.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TransactionCacheUpdateResponse.java
@@ -13,6 +13,7 @@ package org.eclipse.osee.framework.core.message;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
+import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.model.TransactionRecord;
import org.eclipse.osee.framework.core.model.TransactionRecordFactory;
import org.eclipse.osee.framework.core.model.cache.BranchCache;
@@ -32,7 +33,7 @@ public class TransactionCacheUpdateResponse {
return rows;
}
- public static TransactionCacheUpdateResponse fromCache(TransactionRecordFactory factory, Collection<TransactionRecord> types, BranchCache branchCache) {
+ public static TransactionCacheUpdateResponse fromCache(TransactionRecordFactory factory, Collection<TransactionRecord> types, BranchCache branchCache) throws OseeCoreException {
List<TransactionRecord> rows = new ArrayList<TransactionRecord>();
for (TransactionRecord tx : types) {
rows.add(factory.create(tx.getId(), tx.getBranchId(), tx.getComment(), tx.getTimeStamp(), tx.getAuthor(),
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TransactionCacheUpdateResponseTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TransactionCacheUpdateResponseTranslator.java
index b2ca335f7c..84ec907999 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TransactionCacheUpdateResponseTranslator.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TransactionCacheUpdateResponseTranslator.java
@@ -85,7 +85,7 @@ public class TransactionCacheUpdateResponseTranslator implements ITranslator<Tra
String.valueOf(row.getBranchId())};
}
- private TransactionRecord fromArray(TransactionRecordFactory factory, String[] data) {
+ private TransactionRecord fromArray(TransactionRecordFactory factory, String[] data) throws OseeCoreException {
int index = 0;
int txId = Integer.valueOf(data[index++]);
TransactionDetailsType txType = TransactionDetailsType.valueOf(data[index++]);

Back to the top