Type org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList<org.eclipse.emf.ecore.EObject> of variable contents does not match with type java.util.Map<java.lang.Object,java.lang.Object> of variable loadOptions
Make classes org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList and java.util.Map extend a common superclass
1
if(loadOptions==null)
2
loadOptions=newHashMap<Object, Object>();
2
contents=newContentsEList<EObject>();
3
returnloadOptions;
Preondition Violations
Unmatched return loadOptions;
3
returnloadOptions;
3
returncontents;
3
returncontents;
Preondition Violations
Unmatched return contents;
Precondition Violations (3)
Row
Violation
1
Type org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList<org.eclipse.emf.ecore.EObject> of variable contents does not match with type java.util.Map<java.lang.Object,java.lang.Object> of variable loadOptions