private void fillList(final HighlightSeverity severity) {
DefaultListModel model = new DefaultListModel();
model.removeAllElements();
final List<SeverityRegistrar.SeverityBasedTextAttributes> infoTypes = new ArrayList<SeverityRegistrar.SeverityBasedTextAttributes>();
infoTypes.addAll(mySeverityRegistrar.getRegisteredHighlightingInfoTypes());
<BUG>Collections.sort(infoTypes, new Comparator<SeverityRegistrar.SeverityBasedTextAttributes>() {
public int compare(SeverityBasedTextAttributes attributes1,</BUG>
SeverityBasedTextAttributes attributes2) {
return -mySeverityRegistrar.compare(attributes1.getSeverity(), attributes2.getSeverity());
}

private void fillList(final HighlightSeverity severity) {
DefaultListModel model = new DefaultListModel();
model.removeAllElements();
final List<SeverityRegistrar.SeverityBasedTextAttributes> infoTypes = new ArrayList<SeverityRegistrar.SeverityBasedTextAttributes>();
infoTypes.addAll(mySeverityRegistrar.getRegisteredHighlightingInfoTypes());
Collections.sort(infoTypes, new Comparator<SeverityRegistrar.SeverityBasedTextAttributes>() {
@Override
public int compare(SeverityBasedTextAttributes attributes1,
SeverityBasedTextAttributes attributes2) {
return -mySeverityRegistrar.compare(attributes1.getSeverity(), attributes2.getSeverity());
}
