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 defaultLoadOptions
Make classes org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList and java.util.Map extend a common superclass
1
if(defaultLoadOptions==null)
2
defaultLoadOptions=newHashMap<Object, Object>();
2
contents=newContentsEList<EObject>();
3
returndefaultLoadOptions;
Preondition Violations
Unmatched return defaultLoadOptions;
3
returndefaultLoadOptions;
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 defaultLoadOptions