Type java.util.Map<java.lang.Object,java.lang.Object> of variable defaultSaveOptions does not match with type org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder of variable eProperties
Make classes java.util.Map and org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder extend a common superclass
1
if(eProperties==null)
2
eProperties=newEPropertiesHolderImpl();
2
defaultSaveOptions=newHashMap<Object, Object>();
3
returneProperties;
Preondition Violations
Unmatched return eProperties;
3
returneProperties;
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.impl.BasicEObjectImpl.EPropertiesHolder of variable eProperties