Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2015-11-12 06:45:57 +0000
committerRyan D. Brooks2015-11-12 06:45:57 +0000
commit78c9896daf9501b1f50e4f87307bb4893fbeac31 (patch)
treeabc0c7d59770a99873bfae1044a018186b5412cd /plugins/org.eclipse.osee.framework.branch.gantt
parentc8bddb5b191ba0f453a5163ec22c80fe9506c604 (diff)
downloadorg.eclipse.osee-78c9896daf9501b1f50e4f87307bb4893fbeac31.tar.gz
org.eclipse.osee-78c9896daf9501b1f50e4f87307bb4893fbeac31.tar.xz
org.eclipse.osee-78c9896daf9501b1f50e4f87307bb4893fbeac31.zip
refactor: Use BranchId in BranchManager.getType
Diffstat (limited to 'plugins/org.eclipse.osee.framework.branch.gantt')
-rw-r--r--plugins/org.eclipse.osee.framework.branch.gantt/src/org/eclipse/osee/branch/gantt/views/BranchVisualizationView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.branch.gantt/src/org/eclipse/osee/branch/gantt/views/BranchVisualizationView.java b/plugins/org.eclipse.osee.framework.branch.gantt/src/org/eclipse/osee/branch/gantt/views/BranchVisualizationView.java
index 2e60301cfe0..39a315c7e19 100644
--- a/plugins/org.eclipse.osee.framework.branch.gantt/src/org/eclipse/osee/branch/gantt/views/BranchVisualizationView.java
+++ b/plugins/org.eclipse.osee.framework.branch.gantt/src/org/eclipse/osee/branch/gantt/views/BranchVisualizationView.java
@@ -200,7 +200,7 @@ public class BranchVisualizationView extends ViewPart {
// Create connections
if (recurse) {
for (Branch childBranch : branch.getChildren()) {
- if (childBranch.getBranchType() == BranchType.BASELINE) {
+ if (BranchManager.getType(childBranch).isBaselineBranch()) {
createEvents(gantEvent, childBranch, recurse);
System.err.println("parent" + branch.getName() + " - child " + childBranch.getName());
} else {

Back to the top