Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2014-06-25 15:30:39 -0400
committerRoberto E. Escobar2014-08-28 19:58:58 -0400
commit2a50efb4707e578cc1a0830da56db503116fb673 (patch)
treeddba5a05f020abfd6b1a6d9527c114dd97ae1462 /plugins/org.eclipse.osee.framework.core.message/src
parent3cb363079c730adf6853b409073c46dcc132dc89 (diff)
downloadorg.eclipse.osee-2a50efb4707e578cc1a0830da56db503116fb673.tar.gz
org.eclipse.osee-2a50efb4707e578cc1a0830da56db503116fb673.tar.xz
org.eclipse.osee-2a50efb4707e578cc1a0830da56db503116fb673.zip
feature[ats_ATS46137]: Remove BranchCache from TransactionRecordFactory on server
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.message/src')
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TransactionCacheUpdateResponse.java5
1 files changed, 2 insertions, 3 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 e5f2593151..7b2bd95472 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
@@ -15,7 +15,6 @@ import java.util.Collection;
import java.util.List;
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;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
/**
@@ -33,11 +32,11 @@ public class TransactionCacheUpdateResponse {
return rows;
}
- public static TransactionCacheUpdateResponse fromCache(TransactionRecordFactory factory, Collection<TransactionRecord> types, BranchCache branchCache) throws OseeCoreException {
+ public static TransactionCacheUpdateResponse fromCache(TransactionRecordFactory factory, Collection<TransactionRecord> types) 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(),
- tx.getCommit(), tx.getTxType(), branchCache));
+ tx.getCommit(), tx.getTxType(), null));
}
return new TransactionCacheUpdateResponse(rows);
}

Back to the top