Type java.util.List<java.lang.Object> of variable owners does not match with type org.eclipse.emf.ecore.resource.URIConverter.ReadableInputStream.Buffer of variable buffer
Make classes java.util.List and org.eclipse.emf.ecore.resource.URIConverter.ReadableInputStream.Buffer extend a common superclass
1
if(buffer==null)
2
buffer=newBuffer(100);
2
owners=newUniqueEList<Object>();
3
addOwners(getCommand());
3
returnbuffer.read();
Preondition Violations
Unmatched return buffer.read();
3
returnbuffer.read();
4
returnowners;
4
returnowners;
Preondition Violations
Unmatched return owners;
Precondition Violations (3)
Row
Violation
1
Type java.util.List<java.lang.Object> of variable owners does not match with type org.eclipse.emf.ecore.resource.URIConverter.ReadableInputStream.Buffer of variable buffer