Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2016-08-05 13:04:18 -0400
committerRyan D. Brooks2016-08-31 12:18:42 -0400
commitfeba226b7b3e113fde66f09518bc38069e004bd2 (patch)
tree2cc4064bd58c1ddb4e8850f0bfc141ece8abc2f5
parente1f534a4d5319783271b558626149f5342aab889 (diff)
downloadorg.eclipse.osee-feba226b7b3e113fde66f09518bc38069e004bd2.tar.gz
org.eclipse.osee-feba226b7b3e113fde66f09518bc38069e004bd2.tar.xz
org.eclipse.osee-feba226b7b3e113fde66f09518bc38069e004bd2.zip
bug[ats_ATS303517]: Show Relations displays children indicator when there are none
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactContentProvider.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactContentProvider.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactContentProvider.java
index bcd060f0621..ba6865689a2 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactContentProvider.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactContentProvider.java
@@ -188,7 +188,8 @@ public class ArtifactContentProvider implements ITreeContentProvider, ArtifactCh
} else if (isShowRelations()) {
List<RelationLink> relationsAll = artifact.getRelationsAll(DeletionFlag.EXCLUDE_DELETED);
for (RelationLink link : relationsAll) {
- if (link.getRelationType().getId() != CoreRelationTypes.Default_Hierarchical__Child.getGuid()) {
+ if (!link.getRelationType().getId().equals(
+ CoreRelationTypes.Default_Hierarchical__Child.getGuid())) {
return true;
}
}

Back to the top