private void updateErrorAndWarningCounters(@AntMessage.Priority int priority) {
    if (priority == PRIORITY_ERR) {
      myErrorCount++;
    }
    else if (priority == PRIORITY_WARN) {
      myWarningCount++;
    }
  }
private void updateErrorAndWarningCounters(@AntMessage.Priority int priority)