Skip to content

Commit a382365

Browse files
committed
fix: make isValid method public
1 parent fc712e2 commit a382365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/codeerow/validation/Validation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public Validation(S subject, List<Rule<S>> rules) {
2121
}
2222

2323

24-
boolean isValid() {
24+
public boolean isValid() {
2525
for (Rule<S> rule : rules) {
2626
if (!rule.execute(subject)) return false;
2727
}

0 commit comments

Comments
 (0)