Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2015-02-26 14:34:24 +0000
committerAlexander Kurtakov2015-02-26 14:34:24 +0000
commit070fdccc92f1120f1070cbb9b1580cec5991f285 (patch)
tree67bc3989ef35f5d13b70b47f9d6904768c5b49e7 /bundles/org.eclipse.swt/Eclipse SWT AWT
parent8fbe80679c95b8b9b04541835148c7d477e5bc2e (diff)
downloadeclipse.platform.swt-070fdccc92f1120f1070cbb9b1580cec5991f285.tar.gz
eclipse.platform.swt-070fdccc92f1120f1070cbb9b1580cec5991f285.tar.xz
eclipse.platform.swt-070fdccc92f1120f1070cbb9b1580cec5991f285.zip
Bug 460943 - Do not suppress warnings
Remove @SuppressWarnings("rawtypes", "unchecked") and properly fix the warnings. Change-Id: I7d7ab2b47f53906c5dc1cc1646a1960bcdf97fcb Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT AWT')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java
index fab16adf1e..e5b403378a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java
@@ -48,7 +48,6 @@ import java.awt.event.WindowEvent;
*
* @since 3.0
*/
-@SuppressWarnings("rawtypes")
public class SWT_AWT {
/**
@@ -98,7 +97,7 @@ static synchronized void initializeSwing() {
OS.gdk_error_trap_push();
try {
/* Initialize the default focus traversal policy */
- Class[] emptyClass = new Class[0];
+ Class<?>[] emptyClass = new Class[0];
Object[] emptyObject = new Object[0];
Class<?> clazz = Class.forName("javax.swing.UIManager");
Method method = clazz.getMethod("getDefaults", emptyClass);

Back to the top