From d3439ded5cd2a8c5cdbaea839a035934f50c2ee7 Mon Sep 17 00:00:00 2001 From: Andrey Loskutov Date: Mon, 11 Dec 2017 21:22:28 +0100 Subject: Bug 411356 - remove @SuppressWarnings("rawtypes") from Display Change-Id: I536a65398b6e26b9b2f5742f8908140b98bd5a05 Signed-off-by: Andrey Loskutov --- .../Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32') diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java index c3e4211baa..33c9b33b7e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java @@ -96,7 +96,6 @@ import org.eclipse.swt.internal.win32.*; * @see Sample code and further information * @noextend This class is not intended to be subclassed by clients. */ -@SuppressWarnings("rawtypes") public class Display extends Device { /** @@ -1713,7 +1712,7 @@ public static Display getDefault () { } } -static boolean isValidClass (Class clazz) { +static boolean isValidClass (Class clazz) { String name = clazz.getName (); int index = name.lastIndexOf ('.'); return name.substring (0, index + 1).equals (PACKAGE_PREFIX); -- cgit v1.2.3