use of org.infernus.idea.checkstyle.csapi.SeverityLevel in project checkstyle-idea by jshiell.
the class CheckStyleAuditListener method toIssue.
private Issue toIssue(final AuditEvent auditEvent) {
String msg = auditEvent.getMessage();
final SeverityLevel level = readSeverityLevel(auditEvent.getSeverityLevel());
return new Issue(auditEvent.getFileName(), auditEvent.getLine(), auditEvent.getColumn(), msg, level, auditEvent.getSourceName());
}
Aggregations