Type org.eclipse.emf.common.ui.DiagnosticComposite.TextProvider of variable textProvider does not match with type java.util.List<java.lang.Object> of variable owners
Make classes org.eclipse.emf.common.ui.DiagnosticComposite.TextProvider and java.util.List extend a common superclass
1
if(owners==null)
2
owners=newUniqueEList<Object>();
2
textProvider=newTextProvider();
3
addOwners(getCommand());
3
returntextProvider;
3
returntextProvider;
Preondition Violations
Unmatched return textProvider;
4
returnowners;
Preondition Violations
Unmatched return owners;
4
returnowners;
Precondition Violations (3)
Row
Violation
1
Type org.eclipse.emf.common.ui.DiagnosticComposite.TextProvider of variable textProvider does not match with type java.util.List<java.lang.Object> of variable owners