mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 20:15:22 +02:00
[cleanup] Fix compiler warnings
This commit is contained in:
parent
281b959873
commit
320bb1e594
1 changed files with 1 additions and 6 deletions
|
@ -93,17 +93,12 @@ public class SystemScratchpadViewProvider implements ILabelProvider, ITreeConten
|
||||||
{
|
{
|
||||||
if (object instanceof IAdaptable)
|
if (object instanceof IAdaptable)
|
||||||
{
|
{
|
||||||
IAdaptable adapt = (IAdaptable) object;
|
IAdaptable adapt = (IAdaptable) object;
|
||||||
if (adapt != null)
|
|
||||||
{
|
|
||||||
ISystemViewElementAdapter result = (ISystemViewElementAdapter) adapt.getAdapter(ISystemViewElementAdapter.class);
|
ISystemViewElementAdapter result = (ISystemViewElementAdapter) adapt.getAdapter(ISystemViewElementAdapter.class);
|
||||||
result.setPropertySourceInput(object);
|
result.setPropertySourceInput(object);
|
||||||
result.setViewer(_view);
|
result.setViewer(_view);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue