mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Warnings cleanup.
This commit is contained in:
parent
6241c63438
commit
e5c877b268
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,7 @@ public class GdbSuspendResumeAdapterFactory implements IAdapterFactory {
|
||||||
fResumeAtLine = new GdbResumeAtLine(execCtx);
|
fResumeAtLine = new GdbResumeAtLine(execCtx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("rawtypes")
|
||||||
public Object getAdapter(Class adapter) {
|
public Object getAdapter(Class adapter) {
|
||||||
if (adapter.isInstance(fRunToLine)) {
|
if (adapter.isInstance(fRunToLine)) {
|
||||||
return fRunToLine;
|
return fRunToLine;
|
||||||
|
@ -63,6 +64,7 @@ public class GdbSuspendResumeAdapterFactory implements IAdapterFactory {
|
||||||
public void suspend() throws DebugException {}
|
public void suspend() throws DebugException {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("rawtypes")
|
||||||
public Object getAdapter(Object adaptableObject, Class adapterType) {
|
public Object getAdapter(Object adaptableObject, Class adapterType) {
|
||||||
if (ISuspendResume.class.equals(adapterType)) {
|
if (ISuspendResume.class.equals(adapterType)) {
|
||||||
if (adaptableObject instanceof IDMVMContext) {
|
if (adaptableObject instanceof IDMVMContext) {
|
||||||
|
@ -79,6 +81,7 @@ public class GdbSuspendResumeAdapterFactory implements IAdapterFactory {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("rawtypes")
|
||||||
public Class[] getAdapterList() {
|
public Class[] getAdapterList() {
|
||||||
return new Class[] { ISuspendResume.class };
|
return new Class[] { ISuspendResume.class };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue