1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 07:35:24 +02:00

[cleanup] Fix compiler warnings

This commit is contained in:
Martin Oberhuber 2006-08-25 15:59:02 +00:00
parent 281b959873
commit 320bb1e594

View file

@ -93,17 +93,12 @@ public class SystemScratchpadViewProvider implements ILabelProvider, ITreeConten
{
if (object instanceof IAdaptable)
{
IAdaptable adapt = (IAdaptable) object;
if (adapt != null)
{
IAdaptable adapt = (IAdaptable) object;
ISystemViewElementAdapter result = (ISystemViewElementAdapter) adapt.getAdapter(ISystemViewElementAdapter.class);
result.setPropertySourceInput(object);
result.setViewer(_view);
return result;
}
}
return null;
}