Introduce SimpleValueStyler for use with ToStringCreator #29381
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
DefaultValueStyler
hard codes conventions for styling that are verbose and do not align well with standardtoString()
implementations in the JDK for arrays, collections, and maps. Furthermore, the default styling for classes and methods may not be suitable or desirable for certain use cases.To address these shortcomings, we should introduce a
SimpleValueStyler
for use withToStringCreator
. The default behavior ofSimpleValueStyler
should align withtoString()
implementations for arrays, collections, and maps in the JDK, and styling for classes and methods should be configurable without having to create a custom subclass of theValueStyler
.The text was updated successfully, but these errors were encountered: