1 parent 1e541c9 commit 76ce497Copy full SHA for 76ce497
1 file changed
fluent-validator/src/test/java/com/baidu/unbiz/fluentvalidator/QuickValidatorTest.java
@@ -127,9 +127,6 @@ class InnerValidatorWithoutSharedContext extends ValidatorHandler<Car> implement
127
128
@Override
129
public boolean validate(ValidatorContext context, final Car car) {
130
- // Pass the context to QuickValidator to create a new FluentValidator instance,
131
- // so that validation result can be set within the same context,
132
- // or you can consider the context to be shared.
133
return QuickValidator.doAndGetComplexResult(new Decorator() {
134
135
public FluentValidator decorate(FluentValidator fv) {
0 commit comments