Test fixes

This commit is contained in:
dragonmacher 2024-02-24 17:20:23 -05:00
parent afbe571554
commit 00021297c1

View File

@ -72,8 +72,8 @@ class DirectoryList extends GList<File> implements GhidraFileChooserDirectoryMod
return; // UI is being updated
}
FileListCellRenderer cellRenderer = (FileListCellRenderer) getCellRenderer();
if (cellRenderer == null) {
ListCellRenderer<? super File> renderer = getCellRenderer();
if (!(renderer instanceof FileListCellRenderer cellRenderer)) {
return; // initializing
}