Type org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList<org.eclipse.emf.ecore.EObject> of variable contents does not match with type java.util.List<java.lang.Object> of variable owners
Make classes org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList and java.util.List extend a common superclass
1
if(owners==null)
2
owners=newUniqueEList<Object>();
2
contents=newContentsEList<EObject>();
3
addOwners(getCommand());
3
returncontents;
3
returncontents;
Preondition Violations
Unmatched return contents;
4
returnowners;
Preondition Violations
Unmatched return owners;
4
returnowners;
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.List<java.lang.Object> of variable owners