forked from D-Net/dnet-hadoop
fixed typo
This commit is contained in:
parent
af61e44acc
commit
db299dd8ab
|
@ -48,13 +48,13 @@ public class OafMapperUtils {
|
||||||
|
|
||||||
public static Result mergeResults(Result left, Result right) {
|
public static Result mergeResults(Result left, Result right) {
|
||||||
|
|
||||||
final boolean leftFromDeletedAuthority = isFromDelegatedAuthority(left);
|
final boolean leftFromDelegatedAuthority = isFromDelegatedAuthority(left);
|
||||||
final boolean rightFromDeletedAuthority = isFromDelegatedAuthority(right);
|
final boolean rightFromDelegatedAuthority = isFromDelegatedAuthority(right);
|
||||||
|
|
||||||
if (leftFromDeletedAuthority && !rightFromDeletedAuthority) {
|
if (leftFromDelegatedAuthority && !rightFromDelegatedAuthority) {
|
||||||
return left;
|
return left;
|
||||||
}
|
}
|
||||||
if (!leftFromDeletedAuthority && rightFromDeletedAuthority) {
|
if (!leftFromDelegatedAuthority && rightFromDelegatedAuthority) {
|
||||||
return right;
|
return right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue