Avoid reflecting to obtain validationGroups
every time the call is made
#32068
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
spring-framework/spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java
Lines 241 to 245 in 1a52c56
can call
getValidationGroups()
in theInvocableHandlerMethod
construction method, and takevalidationGroups
returned bygetValidationGroups()
method as a member variable. Avoid reflecting to obtainvalidationGroups
every time the call is madeThe text was updated successfully, but these errors were encountered: