if (diagnostics != null)
{
diagnostics.add
(new BasicDiagnostic
(Diagnostic.ERROR,
DIAGNOSTIC_SOURCE,
WELL_FORMED_INSTANCE_TYPE_NAME,
getString(key, substitutions),
new Object [] { index }));
}
if (resourceEntityHandler != null)
{
text = new StringBuffer();
}
Type org.eclipse.emf.common.util.DiagnosticChain of variable diagnostics does not match with type org.eclipse.emf.ecore.xmi.XMLResource.ResourceEntityHandler of variable resourceEntityHandler
Make classes org.eclipse.emf.common.util.DiagnosticChain and org.eclipse.emf.ecore.xmi.XMLResource.ResourceEntityHandler extend a common superclass
Type org.eclipse.emf.common.util.DiagnosticChain of variable diagnostics does not match with type org.eclipse.emf.ecore.xmi.XMLResource.ResourceEntityHandler of variable resourceEntityHandler