Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2018-10-15 23:00:40 +0000
committerStephan Herrmann2018-10-15 23:00:40 +0000
commit39d8b606e5a6472547723b76bf3cc3d4de938738 (patch)
tree703a43fd96d1cfacc075cfe08fdcc94854daad0a /testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org
parentaeeb618d1a1d3900b1ee498134044084c010ad6c (diff)
downloadorg.eclipse.objectteams-39d8b606e5a6472547723b76bf3cc3d4de938738.tar.gz
org.eclipse.objectteams-39d8b606e5a6472547723b76bf3cc3d4de938738.tar.xz
org.eclipse.objectteams-39d8b606e5a6472547723b76bf3cc3d4de938738.zip
Update jdt.core to S-4.10M1-201810101800
- adjust imports after classes moved to o.e.j.core.manipulation - avoid some warnings
Diffstat (limited to 'testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org')
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/MySetup.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/MySetup.java b/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/MySetup.java
index 3eff29f93..d4a99edd0 100644
--- a/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/MySetup.java
+++ b/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/MySetup.java
@@ -30,12 +30,13 @@ import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants;
-import org.eclipse.jdt.internal.corext.codemanipulation.StubUtility;
-import org.eclipse.jdt.internal.corext.template.java.CodeTemplateContextType;
+import org.eclipse.jdt.internal.core.manipulation.StubUtility;
+import org.eclipse.jdt.internal.core.manipulation.CodeTemplateContextType;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.objectteams.otdt.ui.tests.util.JavaProjectHelper;
import org.eclipse.objectteams.otdt.ui.tests.util.TestOptions;
+@SuppressWarnings("restriction")
public class MySetup extends TestSetup
{
private static IPackageFragmentRoot _root;
@@ -92,7 +93,7 @@ public class MySetup extends TestSetup
CONTAINER);
_packageP = _root.createPackageFragment("p", true, null);
- Hashtable options = TestOptions.getFormatterOptions();
+ Hashtable<String, String> options = TestOptions.getFormatterOptions();
options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, JavaCore.TAB);
options.put(DefaultCodeFormatterConstants.FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE, "0");
options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_SIZE, "4");

Back to the top