Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2009-01-28 11:18:19 -0500
committerpelder2009-01-28 11:18:19 -0500
commit1b230a2e3abf63279a88cc419f326f5be145a4c8 (patch)
treec6216944d9aa2176d2e43f60b973b6fd08e5ca4c
parente13fff7a9c49333eeea8699541edd8e90bd8ad6b (diff)
downloadorg.eclipse.jet-1b230a2e3abf63279a88cc419f326f5be145a4c8.tar.gz
org.eclipse.jet-1b230a2e3abf63279a88cc419f326f5be145a4c8.tar.xz
org.eclipse.jet-1b230a2e3abf63279a88cc419f326f5be145a4c8.zip
[262769] JET Editor does not compile on post 3.5M4 builds because of use of JDT internals
-rw-r--r--plugins/org.eclipse.jet.editor/src/org/eclipse/jet/internal/editor/partition/JETDocumentPartitionScanner.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.jet.editor/src/org/eclipse/jet/internal/editor/partition/JETDocumentPartitionScanner.java b/plugins/org.eclipse.jet.editor/src/org/eclipse/jet/internal/editor/partition/JETDocumentPartitionScanner.java
index 2dfe1d1..82fda62 100644
--- a/plugins/org.eclipse.jet.editor/src/org/eclipse/jet/internal/editor/partition/JETDocumentPartitionScanner.java
+++ b/plugins/org.eclipse.jet.editor/src/org/eclipse/jet/internal/editor/partition/JETDocumentPartitionScanner.java
@@ -402,10 +402,10 @@ public class JETDocumentPartitionScanner extends RuleBasedPartitionScanner {
if ("__jet_directive".equals(contentType))
result = (new IAutoEditStrategy[] { new JETTemplateAutoEditStrategy() });
else if ("__jet_java_scriptlet".equals(contentType)) {
- final List<IAutoEditStrategy> resultList = new ArrayList<IAutoEditStrategy>();
+ final List resultList = new ArrayList();
resultList.addAll(Arrays.asList(javaSourceViewConfig.getAutoEditStrategies(null, "__dftl_partitioning")));
resultList.add(new JETTemplateAutoEditStrategy());
- result = resultList.toArray(new IAutoEditStrategy[resultList.size()]);
+ result = (IAutoEditStrategy[]) resultList.toArray(new IAutoEditStrategy[resultList.size()]);
}
else if ("__jet_java_declaration".equals(contentType)) {
final List<IAutoEditStrategy> resultList = new ArrayList<IAutoEditStrategy>();

Back to the top