Fixing policy severity being cleared.
@@ -162,7 +162,6 @@ public class DetectConfigurationFactory {
public PolicyCheckOptions createPolicyCheckOptions() {
String policySeverities = detectConfiguration.getPropertyValueAsString(DetectProperty.DETECT_POLICY_CHECK_FAIL_ON_SEVERITIES, PropertyAuthority.None);
- policySeverities = ",";
final List<PolicySeverityType> severitiesToFailPolicyCheck = EnumUtilExtension.parseCommaDelimitted(policySeverities.toUpperCase(), PolicySeverityType.class);
return new PolicyCheckOptions(severitiesToFailPolicyCheck);
}
