for (int i = 0; i < listModel.getSize(); i++) {
final String severityName = ((SeverityBasedTextAttributes)listModel.getElementAt(i)).getSeverity().myName;
if (Comparing.strEqual(severityName, inputString)) return false;
}
return true;
<BUG>}
public boolean canClose(final String inputString) {</BUG>
return checkInput(inputString);
}
});

for (int i = 0; i < listModel.getSize(); i++) {
final String severityName = ((SeverityBasedTextAttributes)listModel.getElementAt(i)).getSeverity().myName;
if (Comparing.strEqual(severityName, inputString)) return false;
}
return true;
}
@Override
public boolean canClose(final String inputString) {
return checkInput(inputString);
}
});
