fixed typo

This commit is contained in:
Claudio Atzori 2022-01-27 16:24:06 +01:00
parent af61e44acc
commit db299dd8ab
1 changed files with 4 additions and 4 deletions

View File

@ -48,13 +48,13 @@ public class OafMapperUtils {
public static Result mergeResults(Result left, Result right) {
final boolean leftFromDeletedAuthority = isFromDelegatedAuthority(left);
final boolean rightFromDeletedAuthority = isFromDelegatedAuthority(right);
final boolean leftFromDelegatedAuthority = isFromDelegatedAuthority(left);
final boolean rightFromDelegatedAuthority = isFromDelegatedAuthority(right);
if (leftFromDeletedAuthority && !rightFromDeletedAuthority) {
if (leftFromDelegatedAuthority && !rightFromDelegatedAuthority) {
return left;
}
if (!leftFromDeletedAuthority && rightFromDeletedAuthority) {
if (!leftFromDelegatedAuthority && rightFromDelegatedAuthority) {
return right;
}