summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-08 03:27:36 (EST)
committerCarsten Drossel2009-01-08 03:27:36 (EST)
commit58390bb1f0a2ca1cb9410a749a0a8925ff905ce9 (patch)
tree6abd2536a0fc44f435bc556f1282ca723b544ff8
parent5bba3e20af2fe4fe705bbf9e22de9291ef7e0933 (diff)
downloadorg.eclipse.riena-58390bb1f0a2ca1cb9410a749a0a8925ff905ce9.zip
org.eclipse.riena-58390bb1f0a2ca1cb9410a749a0a8925ff905ce9.tar.gz
org.eclipse.riena-58390bb1f0a2ca1cb9410a749a0a8925ff905ce9.tar.bz2
suppressing warnings for unchecked: cannot change super-method signature
-rw-r--r--org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/ProgressVisualizer.java1
-rw-r--r--org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/UIProcess.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/ProgressVisualizer.java b/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/ProgressVisualizer.java
index adc803e..24744de 100644
--- a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/ProgressVisualizer.java
+++ b/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/ProgressVisualizer.java
@@ -124,6 +124,7 @@ public class ProgressVisualizer extends PlatformObject implements IProgressVisua
}
@Override
+ @SuppressWarnings("unchecked")
public Object getAdapter(Class adapter) {
if (adapter == IProcessInfoAware.class || adapter == IProgressVisualizer.class) {
return this;
diff --git a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/UIProcess.java b/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/UIProcess.java
index ed00c6b..904e28d 100644
--- a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/UIProcess.java
+++ b/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/uiprocess/UIProcess.java
@@ -243,6 +243,7 @@ public class UIProcess extends PlatformObject implements IUIMonitor {
}
@Override
+ @SuppressWarnings("unchecked")
public Object getAdapter(Class adapter) {
Object adapted = super.getAdapter(adapter);
if (adapted == null) {