final HighlightInfoType type = STANDARD_SEVERITIES.get(name);
if (type != null) return type.getSeverity(null);
final SeverityBasedTextAttributes attributes = ourMap.get(name);
if (attributes != null) return attributes.getSeverity();
return null;
<BUG>}
private List<String> createCurrentSeverities() {</BUG>
List<String> list = new ArrayList<String>();
list.addAll(STANDARD_SEVERITIES.keySet());
list.addAll(ourMap.keySet());

final HighlightInfoType type = STANDARD_SEVERITIES.get(name);
if (type != null) return type.getSeverity(null);
final SeverityBasedTextAttributes attributes = ourMap.get(name);
if (attributes != null) return attributes.getSeverity();
return null;
}
@NotNull
private List<String> createCurrentSeverities() {
List<String> list = new ArrayList<String>();
list.addAll(STANDARD_SEVERITIES.keySet());
list.addAll(ourMap.keySet());
