mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix NPE when API is used with NULL-incompatible collection
https://github.com/JetBrains/intellij-community/pull/1442 GitOrigin-RevId: 03555688c848d49cc6875eec8a0b508df90a3f73
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cbd506b81b
commit
05f49f9e18
@@ -2376,7 +2376,7 @@ public class UsageViewImpl implements UsageViewEx {
|
||||
Usage toSelect = null;
|
||||
for (Usage usage : toDelete) {
|
||||
Usage next = getNextToSelect(usage);
|
||||
if (!toDelete.contains(next)) {
|
||||
if (next != null && !toDelete.contains(next)) {
|
||||
toSelect = next;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user