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.ote.ui.define
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.ote.ui.define')
-rw-r--r--plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/dialogs/BranchComboDialog.java2
-rw-r--r--plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/views/TestRunArtifactOptions.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/dialogs/BranchComboDialog.java b/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/dialogs/BranchComboDialog.java
index 6fbae37190a..e7f12439123 100644
--- a/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/dialogs/BranchComboDialog.java
+++ b/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/dialogs/BranchComboDialog.java
@@ -126,7 +126,7 @@ public class BranchComboDialog extends TitleAreaDialog implements Listener {
try {
Branch branch = getSelection();
if (branch != null && branch.hasParentBranch()) {
- String lastBranchSelected = Long.toString(branch.getId());
+ String lastBranchSelected = Long.toString(branch.getUuid());
List<String> history = new ArrayList<String>(Arrays.asList(branchIds));
history.remove(lastBranchSelected);
diff --git a/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/views/TestRunArtifactOptions.java b/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/views/TestRunArtifactOptions.java
index 64941126886..c7de659105c 100644
--- a/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/views/TestRunArtifactOptions.java
+++ b/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/views/TestRunArtifactOptions.java
@@ -50,7 +50,7 @@ public class TestRunArtifactOptions implements IPropertyStoreBasedControl {
Branch branch = this.panel.getSelectedBranch();
long branchId = -1;
if (branch != null) {
- branchId = branch.getId();
+ branchId = branch.getUuid();
}
propertyStore.put(TestRunStorageKey.SELECTED_BRANCH_ID, branchId);
}

Back to the top