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