Avoid String concatenation for not-null assertion in BeanProperty/DirectFieldBindingResult [SPR-16455] #21000
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Juergen Hoeller opened SPR-16455 and commented
BeanPropertyBindingResult
andDirectFieldBindingResult
both come with an assertion for a not-null target object. In both cases, the assertion concatenates the object name into the message which creates unnecessary performance overhead for the regular code path.Affects: 4.3.14, 5.0.3
Referenced from: commits 9c069f6, 9926b68
Backported to: 4.3.15
The text was updated successfully, but these errors were encountered: