mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Fixed warnings
This commit is contained in:
parent
545e3a387d
commit
b898da879b
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2004, 2005 QNX Software Systems and others.
|
* Copyright (c) 2004, 2010 QNX Software Systems and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -25,6 +25,7 @@ public class RetargettableActionAdapterFactory implements IAdapterFactory {
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapter(java.lang.Object, java.lang.Class)
|
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapter(java.lang.Object, java.lang.Class)
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("rawtypes")
|
||||||
public Object getAdapter( Object adaptableObject, Class adapterType ) {
|
public Object getAdapter( Object adaptableObject, Class adapterType ) {
|
||||||
if ( adapterType == IRunToLineTarget.class ) {
|
if ( adapterType == IRunToLineTarget.class ) {
|
||||||
return new RunToLineAdapter();
|
return new RunToLineAdapter();
|
||||||
|
@ -44,6 +45,7 @@ public class RetargettableActionAdapterFactory implements IAdapterFactory {
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapterList()
|
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapterList()
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("rawtypes")
|
||||||
public Class[] getAdapterList() {
|
public Class[] getAdapterList() {
|
||||||
return new Class[]{ IRunToLineTarget.class,
|
return new Class[]{ IRunToLineTarget.class,
|
||||||
IResumeAtLineTarget.class,
|
IResumeAtLineTarget.class,
|
||||||
|
|
|
@ -25,6 +25,7 @@ public class RetargettableActionAdapterFactory implements IAdapterFactory {
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapter(java.lang.Object, java.lang.Class)
|
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapter(java.lang.Object, java.lang.Class)
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("rawtypes")
|
||||||
public Object getAdapter(Object adaptableObject, Class adapterType) {
|
public Object getAdapter(Object adaptableObject, Class adapterType) {
|
||||||
if (adapterType == IRunToLineTarget.class) {
|
if (adapterType == IRunToLineTarget.class) {
|
||||||
return new DisassemblyRunToLineAdapter();
|
return new DisassemblyRunToLineAdapter();
|
||||||
|
@ -41,6 +42,7 @@ public class RetargettableActionAdapterFactory implements IAdapterFactory {
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapterList()
|
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapterList()
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("rawtypes")
|
||||||
public Class[] getAdapterList() {
|
public Class[] getAdapterList() {
|
||||||
return new Class[]{ IRunToLineTarget.class, IResumeAtLineTarget.class, IMoveToLineTarget.class };
|
return new Class[]{ IRunToLineTarget.class, IResumeAtLineTarget.class, IMoveToLineTarget.class };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue