Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-06-29 18:21:27 +0000
committerLars Vogel2017-10-20 08:43:31 +0000
commita0ab17a0ec67369d0762d905ae9f170594b41f07 (patch)
tree5ff9dbac521b1782b558f8e8ef6a4e7cfcb58187
parent3c1fd5a3277074256b6d3f1bf2aa9a6b41f8b094 (diff)
downloadeclipse.platform.text-I20171025-0800.tar.gz
eclipse.platform.text-I20171025-0800.tar.xz
eclipse.platform.text-I20171025-0800.zip
Change-Id: I7102e636e693beadf69b5e2be3e3970a8cac63d2 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HoverTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HoverTest.java b/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HoverTest.java
index a7db28a77..68a1f18cc 100644
--- a/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HoverTest.java
+++ b/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HoverTest.java
@@ -164,7 +164,8 @@ public class HoverTest extends AbstratGenericEditorTest {
private <T extends Control> T findControl(Control control, Class<T> controlType, String label) {
if (control.getClass() == controlType) {
- T res = (T)control;
+ @SuppressWarnings("unchecked")
+ T res = (T) control;
if (label == null) {
return res;
}

Back to the top