Skip to content

Commit

Permalink
Fix ValidationResult#isSuccess() when result is success
Browse files Browse the repository at this point in the history
  • Loading branch information
wreulicke authored Sep 1, 2023
1 parent 3d5fe0e commit 01ead0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public ValidationResult(List<Violation> violations) {
* @return if the validation result was a success.
*/
public boolean isSuccess() {
return !violations.isEmpty();
return violations.isEmpty();
}

/**
Expand Down

0 comments on commit 01ead0b

Please sign in to comment.