1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

Warnings cleanup.

This commit is contained in:
Pawel Piech 2010-02-12 01:04:14 +00:00
parent 6241c63438
commit e5c877b268

View file

@ -43,6 +43,7 @@ public class GdbSuspendResumeAdapterFactory implements IAdapterFactory {
fResumeAtLine = new GdbResumeAtLine(execCtx);
}
@SuppressWarnings("rawtypes")
public Object getAdapter(Class adapter) {
if (adapter.isInstance(fRunToLine)) {
return fRunToLine;
@ -63,6 +64,7 @@ public class GdbSuspendResumeAdapterFactory implements IAdapterFactory {
public void suspend() throws DebugException {}
}
@SuppressWarnings("rawtypes")
public Object getAdapter(Object adaptableObject, Class adapterType) {
if (ISuspendResume.class.equals(adapterType)) {
if (adaptableObject instanceof IDMVMContext) {
@ -79,6 +81,7 @@ public class GdbSuspendResumeAdapterFactory implements IAdapterFactory {
return null;
}
@SuppressWarnings("rawtypes")
public Class[] getAdapterList() {
return new Class[] { ISuspendResume.class };
}