diff --git a/com.teamscale.polarion.plugin/src/com/teamscale/polarion/plugin/utils/CastUtils.java b/com.teamscale.polarion.plugin/src/com/teamscale/polarion/plugin/utils/CastUtils.java index d213816..65e93bb 100644 --- a/com.teamscale.polarion.plugin/src/com/teamscale/polarion/plugin/utils/CastUtils.java +++ b/com.teamscale.polarion.plugin/src/com/teamscale/polarion/plugin/utils/CastUtils.java @@ -155,11 +155,11 @@ public static WorkItemForJson castWorkItem( List directLinksStruct = (List) workItem.getLinkedWorkItemsStructsDirect(); List backLinksStruct = - (List) workItem.getLinkedWorkItemsStructsBack(); + (List) workItem.getLinkedWorkItemsStructsBack(); directLinksStruct.addAll(backLinksStruct); // both direct and back links List linkedItems = (List) - directLinksStruct.stream() + directLinksStruct.stream() .filter( linkStruct -> Arrays.asList(includeLinkRoles)