Skip to content

Commit

Permalink
Merge pull request #146 from dcm4che/dcm4chee-arc-light#893
Browse files Browse the repository at this point in the history
AuditSuppressCriteria.match() does not consider Active Participant
  • Loading branch information
fwiller committed Aug 2, 2017
2 parents 257897d + fd889c0 commit ad5e85e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ && equals(eventTypeCode.getCodeSystemName(), o.getCodeSystemName()))
}

private boolean match(List<ActiveParticipant> aps) {
if (!containsActiveParticipantCriteria())
if (matchAnyActiveParticipant())
return true;

for (ActiveParticipant ap : aps) {
Expand Down Expand Up @@ -424,7 +424,7 @@ && equals(roleIDCode.getCodeSystemName(), o.getCodeSystemName()))
return false;
}

public boolean containsActiveParticipantCriteria() {
private boolean matchAnyActiveParticipant() {
return userIDs.length == 0
&& alternativeUserIDs.length == 0
&& roleIDCodes.length == 0
Expand Down

0 comments on commit ad5e85e

Please sign in to comment.