See gh-21454
This commit is contained in:
Andy Wilkinson 2020-10-28 07:09:47 +00:00
parent 2e2b371679
commit 12dcf147be
2 changed files with 6 additions and 7 deletions

View File

@ -29,7 +29,7 @@ import org.springframework.validation.beanvalidation.MethodValidationPostProcess
/**
* Custom {@link MethodValidationPostProcessor} that applies
* {@code MethodValidationExclusionFilter exclusion filters}.
* {@link MethodValidationExcludeFilter exclusion filters}.
*
* @author Andy Wilkinson
* @since 2.4.0
@ -39,8 +39,8 @@ public class FilteredMethodValidationPostProcessor extends MethodValidationPostP
private final Collection<MethodValidationExcludeFilter> excludeFilters;
/**
* Creates a new {@code ExcludingMethodValidationPostProcessor} that will apply the
* given {@code exclusionFilters} when identifying beans that are eligible for method
* Creates a new {@code FilteredMethodValidationPostProcessor} that will apply the
* given {@code excludeFilters} when identifying beans that are eligible for method
* validation post-processing.
* @param excludeFilters filters to apply
*/
@ -49,8 +49,8 @@ public class FilteredMethodValidationPostProcessor extends MethodValidationPostP
}
/**
* Creates a new {@code ExcludingMethodValidationPostProcessor} that will apply the
* given {@code exclusionFilters} when identifying beans that are eligible for method
* Creates a new {@code FilteredMethodValidationPostProcessor} that will apply the
* given {@code excludeFilters} when identifying beans that are eligible for method
* validation post-processing.
* @param excludeFilters filters to apply
*/

View File

@ -20,14 +20,13 @@ import java.lang.annotation.Annotation;
import org.springframework.core.annotation.MergedAnnotations;
import org.springframework.core.annotation.MergedAnnotations.SearchStrategy;
import org.springframework.validation.beanvalidation.MethodValidationPostProcessor;
/**
* A filter for excluding types from method validation.
*
* @author Andy Wilkinson
* @since 2.4.0
* @see MethodValidationPostProcessor
* @see FilteredMethodValidationPostProcessor
*/
public interface MethodValidationExcludeFilter {