Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2012-08-11 22:44:08 +0000
committerStephan Herrmann2012-08-11 22:44:08 +0000
commit90a780a994adb8706c5f9a3ba54367ff38e70f02 (patch)
treee6ecf51181cde2c3cec034da3fdf3ba0e5e111dd /testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring
parent84fd474d43c7656a99f9cb1b3ce2528b38ba06aa (diff)
downloadorg.eclipse.objectteams-90a780a994adb8706c5f9a3ba54367ff38e70f02.tar.gz
org.eclipse.objectteams-90a780a994adb8706c5f9a3ba54367ff38e70f02.tar.xz
org.eclipse.objectteams-90a780a994adb8706c5f9a3ba54367ff38e70f02.zip
Bug 386587 - [refactoring] pull-up refactoring cannot handle callout
bindings - fix compile time regression: used a diamond in 1.5 sources.
Diffstat (limited to 'testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring')
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/.settings/org.eclipse.jdt.core.prefs11
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pullup/PullUpTests.java2
2 files changed, 11 insertions, 2 deletions
diff --git a/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/.settings/org.eclipse.jdt.core.prefs b/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/.settings/org.eclipse.jdt.core.prefs
index 0bb4faad5..9c52a821a 100644
--- a/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/.settings/org.eclipse.jdt.core.prefs
+++ b/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/.settings/org.eclipse.jdt.core.prefs
@@ -1,6 +1,13 @@
-#Mon Sep 27 21:07:11 CEST 2010
eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
org.eclipse.jdt.core.compiler.problem.deadCode=warning
@@ -9,6 +16,7 @@ org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
@@ -65,3 +73,4 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disa
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pullup/PullUpTests.java b/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pullup/PullUpTests.java
index b364f1d6f..799a28810 100644
--- a/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pullup/PullUpTests.java
+++ b/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pullup/PullUpTests.java
@@ -139,7 +139,7 @@ public class PullUpTests extends RefactoringTest {
setTargetClass(processor, targetClassIndex);
- List<IMethod> methodList = new ArrayList<>();
+ List<IMethod> methodList = new ArrayList<IMethod>();
if (deleteAllInSourceType)
methodList.addAll(Arrays.asList(methods));
if (deleteAllMatchingMethods)

Back to the top