1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 13:05:22 +02:00

Cleanup warnings. No functional code changes.

This commit is contained in:
Randy Rohrbach 2009-10-26 17:21:43 +00:00
parent 29c296b980
commit e2ba58b42c

View file

@ -82,6 +82,7 @@ import org.eclipse.ui.progress.UIJob;
* is not useful. Such events are ignored by this rendering. * is not useful. Such events are ignored by this rendering.
*/ */
@SuppressWarnings("restriction")
public class TraditionalRendering extends AbstractMemoryRendering implements IRepositionableMemoryRendering, IResettableMemoryRendering public class TraditionalRendering extends AbstractMemoryRendering implements IRepositionableMemoryRendering, IResettableMemoryRendering
{ {
protected Rendering fRendering; protected Rendering fRendering;
@ -89,11 +90,11 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
protected Action displayEndianLittleAction; protected Action displayEndianLittleAction;
private IWorkbenchAdapter fWorkbenchAdapter; private IWorkbenchAdapter fWorkbenchAdapter;
private IMemoryBlockConnection fConnection; private IMemoryBlockConnection fConnection;
private final static int MAX_MENU_COLUMN_COUNT = 8; private final static int MAX_MENU_COLUMN_COUNT = 8;
public TraditionalRendering(String id) public TraditionalRendering(String id)
{ {
super(id); super(id);
@ -1191,7 +1192,7 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
/* (non-Javadoc) /* (non-Javadoc)
* @see org.eclipse.core.runtime.PlatformObject#getAdapter(java.lang.Class) * @see org.eclipse.core.runtime.PlatformObject#getAdapter(java.lang.Class)
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings({ "unchecked" })
public Object getAdapter(Class adapter) public Object getAdapter(Class adapter)
{ {
if(adapter == IWorkbenchAdapter.class) if(adapter == IWorkbenchAdapter.class)