Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2010-04-23 15:43:29 -0400
committeratikhomirov2010-04-23 15:43:29 -0400
commitb9e1ee706388b1af6513e9339cc5c31112102392 (patch)
treed1e5a3ba1fc565ab88bc84b705cdfc9e640163be
parentbecbd53831cbd280685d53f485d121603d1cedf0 (diff)
downloadorg.eclipse.gmf-tooling-b9e1ee706388b1af6513e9339cc5c31112102392.tar.gz
org.eclipse.gmf-tooling-b9e1ee706388b1af6513e9339cc5c31112102392.tar.xz
org.eclipse.gmf-tooling-b9e1ee706388b1af6513e9339cc5c31112102392.zip
reduce unchecked scope
-rw-r--r--tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RuntimeWorkspaceSetup.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RuntimeWorkspaceSetup.java b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RuntimeWorkspaceSetup.java
index 1b8748b94..d9ce324b5 100644
--- a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RuntimeWorkspaceSetup.java
+++ b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RuntimeWorkspaceSetup.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008 Borland Software Corporation
+ * Copyright (c) 2005, 2010 Borland Software Corporation and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -145,9 +145,9 @@ public class RuntimeWorkspaceSetup {
/**
* at least 1.4
*/
- @SuppressWarnings("unchecked")
private static void ensureJava14() {
if (!JavaCore.VERSION_1_4.equals(JavaCore.getOption(JavaCore.COMPILER_SOURCE))) {
+ @SuppressWarnings("unchecked")
Hashtable<String,String> options = JavaCore.getOptions();
options.put(JavaCore.COMPILER_COMPLIANCE, JavaCore.VERSION_1_4);
options.put(JavaCore.COMPILER_SOURCE, JavaCore.VERSION_1_4);

Back to the top