Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2016-11-01 04:31:49 -0400
committerDani Megert2016-11-01 04:31:49 -0400
commitafb6ad45df560cdd919832c98505ba634949e925 (patch)
tree063a1d74f06557545fc5302204281d50d5179668
parent8188dd461793e5c391a708afebbf8d28a93837a0 (diff)
downloadeclipse.platform.team-afb6ad45df560cdd919832c98505ba634949e925.tar.gz
eclipse.platform.team-afb6ad45df560cdd919832c98505ba634949e925.tar.xz
eclipse.platform.team-afb6ad45df560cdd919832c98505ba634949e925.zip
Fixed bug 506795: Warnings in official buildI20161101-0800
-rw-r--r--tests/org.eclipse.compare.tests/.settings/org.eclipse.jdt.core.prefs1
-rw-r--r--tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/AsyncExecTests.java4
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/org.eclipse.compare.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.compare.tests/.settings/org.eclipse.jdt.core.prefs
index 29979df7b..64dab5a12 100644
--- a/tests/org.eclipse.compare.tests/.settings/org.eclipse.jdt.core.prefs
+++ b/tests/org.eclipse.compare.tests/.settings/org.eclipse.jdt.core.prefs
@@ -20,6 +20,7 @@ org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.deprecation=warning
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.fieldHiding=warning
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/AsyncExecTests.java b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/AsyncExecTests.java
index 3cb90d75b..c814dd244 100644
--- a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/AsyncExecTests.java
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/AsyncExecTests.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation and others.
+ * Copyright (c) 2006, 2016 IBM 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
* which accompanies this distribution, and is available at
@@ -22,7 +22,7 @@ import org.eclipse.jface.operation.IRunnableWithProgress;
import junit.framework.TestCase;
-@SuppressWarnings("restriction")
+
public class AsyncExecTests extends TestCase {
public AsyncExecTests() {

Back to the top