summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkthoms2009-08-04 05:24:38 (EDT)
committerkthoms2009-08-04 05:24:38 (EDT)
commit70c5930995c5cdf38cd7c9853d97a23f5880861d (patch)
tree62f205ac88e8f9feac91e132127ced4413e95371
parent1581f3b7e80d54842177cc35107ad58490d0dfc0 (diff)
downloadorg.eclipse.mwe-70c5930995c5cdf38cd7c9853d97a23f5880861d.zip
org.eclipse.mwe-70c5930995c5cdf38cd7c9853d97a23f5880861d.tar.gz
org.eclipse.mwe-70c5930995c5cdf38cd7c9853d97a23f5880861d.tar.bz2
reduced compiler warnings
-rw-r--r--plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/DebugElement.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/DebugElement.java b/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/DebugElement.java
index 7e5ddb5..604825c 100644
--- a/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/DebugElement.java
+++ b/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/DebugElement.java
@@ -20,10 +20,12 @@ import org.eclipse.emf.mwe.internal.ui.debug.processing.DebugModelManager;
import org.eclipse.emf.mwe.ui.debug.model.MWEBreakpoint;
/**
- * Common functions for all classes inheriting from this class, that represent the debug model.
+ * Common functions for all classes inheriting from this class, that represent
+ * the debug model.
*
*/
-public abstract class DebugElement extends PlatformObject implements IDebugElement {
+public abstract class DebugElement extends PlatformObject implements
+ IDebugElement {
protected DebugTarget target;
public DebugElement(final DebugTarget target) {
@@ -46,8 +48,8 @@ public abstract class DebugElement extends PlatformObject implements IDebugEleme
return getDebugTarget().getLaunch();
}
-
@Override
+ @SuppressWarnings("unchecked")
public Object getAdapter(final Class adapter) {
if (adapter == IDebugElement.class) {
return this;