mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-16 05:25:21 +02:00
Cleanup warnings. No functional code changes.
This commit is contained in:
parent
29c296b980
commit
e2ba58b42c
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||||
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue