From 88d10a7048e51f49a9f199dad32624ebb245825f Mon Sep 17 00:00:00 2001 From: Jonathan Marcantonio Date: Tue, 3 Sep 2024 16:34:37 -0400 Subject: [PATCH] Update README violations to getViolations() --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a35be955..d617a514 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ public class Main { ValidationResult result = validator.validate(transaction); // Check if there are any validation violations - if (result.violations.isEmpty()) { + if (result.getViolations().isEmpty()) { // No violations, validation successful System.out.println("Validation succeeded"); } else {