mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-05 06:33:23 +02:00
Warnings cleanup.
This commit is contained in:
parent
dc5ab47300
commit
6241c63438
1 changed files with 2 additions and 2 deletions
|
@ -282,7 +282,7 @@ public class GdbAdapterFactory
|
||||||
/**
|
/**
|
||||||
* This method only actually returns adapters for the launch object.
|
* This method only actually returns adapters for the launch object.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("rawtypes")
|
||||||
public Object getAdapter(Object adaptableObject, Class adapterType) {
|
public Object getAdapter(Object adaptableObject, Class adapterType) {
|
||||||
if (!(adaptableObject instanceof GdbLaunch)) return null;
|
if (!(adaptableObject instanceof GdbLaunch)) return null;
|
||||||
|
|
||||||
|
@ -321,7 +321,7 @@ public class GdbAdapterFactory
|
||||||
else return null;
|
else return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("rawtypes")
|
||||||
public Class[] getAdapterList() {
|
public Class[] getAdapterList() {
|
||||||
return new Class[] {
|
return new Class[] {
|
||||||
IElementContentProvider.class, IModelProxyFactory.class, ISuspendTrigger.class,
|
IElementContentProvider.class, IModelProxyFactory.class, ISuspendTrigger.class,
|
||||||
|
|
Loading…
Add table
Reference in a new issue