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