Commit 550cac3f authored by Marco Volpe's avatar Marco Volpe
Browse files

GREEN

Issue-Ref: 3859
Issue-Url: https://af3-developer.fortiss.org/issues/3859

Signed-off-by: Marco Volpe's avatarMarco Volpe <volpe@fortiss.org>
parent 1f28b75b
safety.ecore b92e234ad28258eae391834e4571396e2176ab0a YELLOW
safety.ecore b92e234ad28258eae391834e4571396e2176ab0a GREEN
HwComplexityValueProvider.java 23583ed930bbd942485e317ecf485323c7152a4f GREEN
SafetyIntegrityLevelValueProvider.java ca2f9f0a95a09407f9967c41d027eb2a66826c1b YELLOW
SafetyIntegrityLevelValueProvider.java ca2f9f0a95a09407f9967c41d027eb2a66826c1b GREEN
HwComplexityStaticImpl.java c2831359544871abc99c4b64d671090c5adb01cb GREEN
SafetyIntegrityLevelStaticImpl.java 7cfba4594a028154f4b551cc93ade81306747864 YELLOW
SafetyIntegrityLevelStaticImpl.java 7cfba4594a028154f4b551cc93ade81306747864 GREEN
SafetyUtils.java 835282ebd69ca332d1b14b5efd47ff5a6ce20760 YELLOW
SafetyUtils.java 7c920d22d4432cdebc7493a968e32035fd21c32a GREEN
......@@ -158,12 +158,12 @@ public class SafetyUtils {
List<SafetyIntegrityLevel> silAnnotations = new ArrayList<>(parentSilAnnotations);
silAnnotations.add(specification);
return getLargetsSafetyLevelValue(silAnnotations).getFirst();
return getLargestSafetyLevelValue(silAnnotations).getFirst();
}
/** Returns the dominant(largest) safety level in the given list of specifications. */
public static Pair<Integer, SafetyIntegrityLevel>
getLargetsSafetyLevelValue(List<SafetyIntegrityLevel> parentSilAnnotations) {
getLargestSafetyLevelValue(List<SafetyIntegrityLevel> parentSilAnnotations) {
int largestLevelInHierarchy = 0;
SafetyIntegrityLevel largestSIL = null;
for(SafetyIntegrityLevel currentSIL : parentSilAnnotations) {
......
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