Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2014-04-11 18:39:59 -0400
committerdonald.g.dunne2014-04-17 11:18:06 -0400
commit6a79d57bdb3508f58b038aec78abb6cda343c9bb (patch)
treed8335f89504f1797994854c8c1590941c5d388fb /plugins/org.eclipse.osee.framework.core.message/src/org
parent16e16d76e340ebebe7d8140b58c09df7eaf82c31 (diff)
downloadorg.eclipse.osee-6a79d57bdb3508f58b038aec78abb6cda343c9bb.tar.gz
org.eclipse.osee-6a79d57bdb3508f58b038aec78abb6cda343c9bb.tar.xz
org.eclipse.osee-6a79d57bdb3508f58b038aec78abb6cda343c9bb.zip
feature[ats_ATS19845]: Rename Branch.getId to getUuid
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/BranchCacheUpdateUtil.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/BranchCacheUpdateUtil.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/BranchCacheUpdateUtil.java
index 1734a9f290..5bdcb86ad2 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/BranchCacheUpdateUtil.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/BranchCacheUpdateUtil.java
@@ -130,12 +130,12 @@ public final class BranchCacheUpdateUtil {
public static void loadFromCache(AbstractBranchCacheMessage message, Collection<Branch> types) throws OseeCoreException {
for (Branch br : types) {
- Long branchId = br.getId();
+ Long branchId = br.getUuid();
message.getBranchRows().add(
- new BranchRow(br.getId(), br.getName(), br.getBranchType(), br.getBranchState(), br.getArchiveState(),
+ new BranchRow(br.getUuid(), br.getName(), br.getBranchType(), br.getBranchState(), br.getArchiveState(),
br.getStorageState(), br.isInheritAccessControl()));
if (br.hasParentBranch()) {
- message.getChildToParent().put(branchId, br.getParentBranch().getId());
+ message.getChildToParent().put(branchId, br.getParentBranch().getUuid());
}
addTxRecord(message.getBranchToBaseTx(), branchId, br.getBaseTransaction());
addTxRecord(message.getBranchToSourceTx(), branchId, br.getSourceTransaction());

Back to the top