Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2009-01-29 08:50:57 -0500
committerpelder2009-01-29 08:50:57 -0500
commitde80075401765ed9a0a5cd2e402b7fd48ada497d (patch)
tree921febbb143a552afcc5571c41d2a6939dfa4c8c
parent1b230a2e3abf63279a88cc419f326f5be145a4c8 (diff)
downloadorg.eclipse.jet-de80075401765ed9a0a5cd2e402b7fd48ada497d.tar.gz
org.eclipse.jet-de80075401765ed9a0a5cd2e402b7fd48ada497d.tar.xz
org.eclipse.jet-de80075401765ed9a0a5cd2e402b7fd48ada497d.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 82fda62..4b26bed 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
@@ -408,10 +408,10 @@ public class JETDocumentPartitionScanner extends RuleBasedPartitionScanner {
result = (IAutoEditStrategy[]) resultList.toArray(new IAutoEditStrategy[resultList.size()]);
}
else if ("__jet_java_declaration".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()]);
}
return result;
}

Back to the top