return false;
}
}
// different participantId = different assignment - the rest doesn't matter
WfResource thisResource = this.assignee();
WfResource compResource = asgn.assignee();
if ((thisResource == null && compResource != null) || (thisResource != null && compResource == null)) {
return false;
} else {
String thisKey = thisResource.resourceKey();
String compKey = compResource.resourceKey();
if ((thisKey != null && compKey == null) || (thisKey == null && compKey != null)) {
return false;
} else if (thisKey != null && compKey != null && !thisKey.equals(compKey)) {
return false;
}