GP-0 Correct NPE during import when no opinion exists (Closes #5258)

This commit is contained in:
ghidra1
2023-04-24 10:12:21 -04:00
parent 0ee430e54a
commit 8aa9c8be3a

View File

@@ -121,7 +121,7 @@ public class LanguageSortedTableModel extends AbstractSortedTableModel<LanguageC
}
public int getFirstLcsPairIndex(LanguageCompilerSpecPair toFind) {
if (languageList != null) {
if (toFind != null && languageList != null) {
int index = 0;
for (LanguageCompilerSpecPair pair : languageList) {
if (pair.equals(toFind)) {