Commit 9b14c7b1 authored by Sudeep Kanav's avatar Sudeep Kanav
Browse files

RED

refs 2248
parent 831c7949
...@@ -133,6 +133,7 @@ public class EnumPropertySection extends PropertySectionBase { ...@@ -133,6 +133,7 @@ public class EnumPropertySection extends PropertySectionBase {
enumeration = (Enumeration)input; enumeration = (Enumeration)input;
EList<ExternalRelationSpecification> externalRelationSpecs = EList<ExternalRelationSpecification> externalRelationSpecs =
pickInstanceOf(ExternalRelationSpecification.class, enumeration.getSpecifications()); pickInstanceOf(ExternalRelationSpecification.class, enumeration.getSpecifications());
// TODO (SK,19) following expression should be refactored.
traces = traces =
externalRelationSpecs.stream() externalRelationSpecs.stream()
.map(e -> e.getExternalRelation().getSourceRequirement().getReqId()) .map(e -> e.getExternalRelation().getSourceRequirement().getReqId())
......
...@@ -46,7 +46,7 @@ import org.fortiss.tooling.kernel.ui.extension.base.PropertySectionBase; ...@@ -46,7 +46,7 @@ import org.fortiss.tooling.kernel.ui.extension.base.PropertySectionBase;
* @author eder * @author eder
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: A4074EA9CDAAA3666905F425630A8FBD * @ConQAT.Rating RED Hash: 9444A44C52E7C4489547EF55EBF0EC9E
*/ */
public final class EnumerationMemberPropertySection extends PropertySectionBase { public final class EnumerationMemberPropertySection extends PropertySectionBase {
...@@ -89,6 +89,7 @@ public final class EnumerationMemberPropertySection extends PropertySectionBase ...@@ -89,6 +89,7 @@ public final class EnumerationMemberPropertySection extends PropertySectionBase
member = (EnumerationMember)input; member = (EnumerationMember)input;
EList<ExternalRelationSpecification> externalRelationSpecs = EList<ExternalRelationSpecification> externalRelationSpecs =
pickInstanceOf(ExternalRelationSpecification.class, member.getSpecifications()); pickInstanceOf(ExternalRelationSpecification.class, member.getSpecifications());
// TODO (SK,19) following expression should be refactored.
traces = traces =
externalRelationSpecs.stream() externalRelationSpecs.stream()
.map(e -> e.getExternalRelation().getSourceRequirement().getReqId()) .map(e -> e.getExternalRelation().getSourceRequirement().getReqId())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment