Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
12dcf147
Commit
12dcf147
authored
Oct 28, 2020
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
See gh-21454
parent
2e2b3716
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
FilteredMethodValidationPostProcessor.java
...beanvalidation/FilteredMethodValidationPostProcessor.java
+5
-5
MethodValidationExcludeFilter.java
...idation/beanvalidation/MethodValidationExcludeFilter.java
+1
-2
No files found.
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/validation/beanvalidation/FilteredMethodValidationPostProcessor.java
View file @
12dcf147
...
...
@@ -29,7 +29,7 @@ import org.springframework.validation.beanvalidation.MethodValidationPostProcess
/**
* Custom {@link MethodValidationPostProcessor} that applies
* {@
code MethodValidationExclusion
Filter exclusion filters}.
* {@
link MethodValidationExclude
Filter 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
Excluding
MethodValidationPostProcessor} that will apply the
* given {@code exclu
sion
Filters} when identifying beans that are eligible for method
* Creates a new {@code
Filtered
MethodValidationPostProcessor} that will apply the
* given {@code exclu
de
Filters} 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
Excluding
MethodValidationPostProcessor} that will apply the
* given {@code exclu
sion
Filters} when identifying beans that are eligible for method
* Creates a new {@code
Filtered
MethodValidationPostProcessor} that will apply the
* given {@code exclu
de
Filters} when identifying beans that are eligible for method
* validation post-processing.
* @param excludeFilters filters to apply
*/
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/validation/beanvalidation/MethodValidationExcludeFilter.java
View file @
12dcf147
...
...
@@ -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
Filtered
MethodValidationPostProcessor
*/
public
interface
MethodValidationExcludeFilter
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment