mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-99425 - NPE: ComboboxSpeedSearch.getElementText
This commit is contained in:
@@ -56,6 +56,6 @@ public class ComboboxSpeedSearch extends SpeedSearchBase<JComboBox> {
|
||||
}
|
||||
|
||||
protected String getElementText(Object element) {
|
||||
return element.toString();
|
||||
return element == null ? null : element.toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user