Skip to content

Commit

Permalink
Remove error logging from PersistenceIncludeFilter (#3682)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <[email protected]>
  • Loading branch information
J-N-K authored Jul 4, 2023
1 parent a656073 commit 4be9578
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,8 @@ public boolean apply(Item item) {
}

if (inverted) {
logger.error("Compare {} {} to {} -> {}, {} -> {}", inverted, compareValue, lower,
compareValue.compareTo(lower) <= 0, upper, compareValue.compareTo(upper) >= 0);

return compareValue.compareTo(lower) <= 0 || compareValue.compareTo(upper) >= 0;
} else {

logger.error("Compare {} {} to {} -> {}, {} -> {}", inverted, compareValue, lower,
compareValue.compareTo(lower) >= 0, upper, compareValue.compareTo(upper) <= 0);
return compareValue.compareTo(lower) >= 0 && compareValue.compareTo(upper) <= 0;
}
}
Expand Down

0 comments on commit 4be9578

Please sign in to comment.