7374757677787980
public int getErrorCount() { return counts[ERROR.ordinal()]; } private void countAlert(Alert alert) { Severity severity = policy.getSeverity(alert); counts[severity.ordinal()]++; }