1 2 3 4 5 6 7 8 9 10 11 12 13
|
diff --git a/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/plugin/ContentHandlerRegistryReader.java b/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/plugin/ContentHandlerRegistryReader.java
index cdbfae0..06be38d 100644
--- a/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/plugin/ContentHandlerRegistryReader.java
+++ b/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/plugin/ContentHandlerRegistryReader.java
@@ -73,7 +73,7 @@ class ContentHandlerRegistryReader extends RegistryReader
try
{
@SuppressWarnings("unchecked")
- Class<ContentHandler> contributorHandlerClass = Platform.getBundle(element.getNamespaceIdentifier()).loadClass(contributorClassName);
+ Class<ContentHandler> contributorHandlerClass = (Class)Platform.getBundle(element.getNamespaceIdentifier()).loadClass(contributorClassName);
Map<String, String> parameters = new HashMap<String, String>();
for (IConfigurationElement parameter : element.getChildren("parameter"))
{
|