mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-06 00:25:25 +02:00
[175096] use SystemAdapterHelpers method to get adapter
This commit is contained in:
parent
df4f46c8cc
commit
4e857e5e67
1 changed files with 1 additions and 1 deletions
|
@ -1282,7 +1282,7 @@ public class SystemView extends SafeTreeViewer implements ISystemTree, ISystemRe
|
|||
|
||||
protected ISystemViewElementAdapter getViewAdapter(Object o)
|
||||
{
|
||||
return (ISystemViewElementAdapter)((IAdaptable)o).getAdapter(ISystemViewElementAdapter.class);
|
||||
return SystemAdapterHelpers.getAdapter(o, this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue