if( !lints.isEmpty() ) {
ontologyLints.addLints( pattern, lints );
}
}
ontologyLints.sort( new Comparator<Lint>() {
public int compare(Lint lint0, Lint lint1) {
Severity severity0 = lint0.getSeverity();
Severity severity1 = lint1.getSeverity();
if( severity0 != null && severity1 != null ) {
return -severity0.compareTo( severity1 );