// higher severity already
return severity;
}
// check the type specific values
for (Iterator i = events.iterator(); i.hasNext(); ) {
EventDetail ev = (EventDetail)i.next();
int eventSeverity = checkValue(ev._count, ev._type, stats, sink);
if (eventSeverity > severity) {
severity = eventSeverity;
if (severity == PerformanceCheck.SeverityError) {
// we've reached the highest severity so no point in keep going