Skip to content

Commit

Permalink
revert #test checking negation
Browse files Browse the repository at this point in the history
  • Loading branch information
Efnilite committed Jan 1, 2025
1 parent d612eb8 commit cc774b0
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,7 @@ public final boolean check(Event event) {

@Override
public final boolean test(T value) {
if (isNegated()) {
return !this.check(value);
} else {
return this.check(value);
}
return check(value);
}

protected abstract String getPropertyName();
Expand Down

0 comments on commit cc774b0

Please sign in to comment.