Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranch.java')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranch.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranch.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranch.java
index 3daaa03886c..2343b4370be 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranch.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranch.java
@@ -315,7 +315,9 @@ public class XWorkingBranch extends XWidget implements IArtifactWidget, IArtifac
@Override
public void setArtifact(Artifact artifact) {
- this.teamArt = (TeamWorkFlowArtifact) artifact;
+ if (artifact instanceof TeamWorkFlowArtifact) {
+ this.teamArt = (TeamWorkFlowArtifact) artifact;
+ }
enablement = new XWorkingBranchEnablement(teamArt);
}

Back to the top