File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
validator/src/test/java/io/avaje/validation/core Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 4
4
import java .util .Map ;
5
5
6
6
import io .avaje .validation .Validator ;
7
- import io .avaje .validation .adapter .CoreValidation ;
8
7
import io .avaje .validation .adapter .ValidationAdapter ;
9
8
import io .avaje .validation .adapter .ValidationRequest ;
10
9
import jakarta .validation .constraints .AssertTrue ;
@@ -20,13 +19,10 @@ public final class CustomerValidationAdapter implements ValidationAdapter<Custom
20
19
private final ValidationAdapter <Object > activeDateAdapter ;
21
20
private final ValidationAdapter <List <Contact >> contactsValidator ;
22
21
23
- private final CoreValidation core ;
24
-
25
22
private final ValidationAdapter <Address > addressValidator ;
26
23
private final ValidationAdapter <Contact > contactValidator ;
27
24
28
25
public CustomerValidationAdapter (Validator validator ) {
29
- this .core = validator .core ();
30
26
this .activeAdapter =
31
27
validator .<Boolean >annotationAdapter (AssertTrue .class , Map .of ("message" , "not true" ));
32
28
You can’t perform that action at this time.
0 commit comments