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