Improvement of BeanWrapperImpl.getPropertyValue(PropertyTokenHolder tokens) [SPR-12378] #16985
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Seo Kyung-Seok opened SPR-12378 and commented
In BeanWrapperImpl.getPropertyValue(PropertyTokenHolder tokens), TypeDescriptor.valueOf(...) method is used like this.
=> TypeDescriptor typeDescriptor = (mapKeyType != null ?
TypeDescriptor.valueOf(mapKeyType) : TypeDescriptor.valueOf(Object.class));
I think, It is not necessary because null is checked in TypeDescriptor.valueOf(...) method.
Affects: 4.1.1
Referenced from: commits 1708a8a, a3213f2
The text was updated successfully, but these errors were encountered: