mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 07:35:24 +02:00
[fix][175160] RSE Unit Tests fail in I20070222-1133 and I20070223-0730
This commit is contained in:
parent
f5cd34df3f
commit
efb5039f61
1 changed files with 3 additions and 1 deletions
|
@ -268,7 +268,9 @@ public class SystemViewLabelAndContentProvider extends LabelProvider
|
|||
}
|
||||
if (supportsDeferredQueries())
|
||||
{
|
||||
if (manager != null && adapter.supportsDeferredQueries())
|
||||
// The adapter needs to be checked to be not null, otherwise
|
||||
// we run into an NPE here.
|
||||
if (manager != null && adapter != null && adapter.supportsDeferredQueries())
|
||||
{
|
||||
ISubSystem ss = null;
|
||||
if (object instanceof IContextObject)
|
||||
|
|
Loading…
Add table
Reference in a new issue