spring-framework/spring-core/src
Sam Brannen f16366e161 Introduce SimpleValueStyler for use with ToStringCreator
DefaultValueStyler hard codes conventions for styling that are verbose
and do not align well with standard toString() 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, this commit introduces a
SimpleValueStyler for use with ToStringCreator. The default behavior of
SimpleValueStyler aligns with toString() implementations for arrays,
collections, and maps in the JDK, and styling for classes and methods
is configurable via a dedicated constructor.

Closes gh-29381
2022-10-25 17:42:19 +02:00
..
jmh/java/org/springframework Replace Collectors.toList with Stream.toList 2022-09-26 18:32:01 +02:00
main Introduce SimpleValueStyler for use with ToStringCreator 2022-10-25 17:42:19 +02:00
test Introduce SimpleValueStyler for use with ToStringCreator 2022-10-25 17:42:19 +02:00
testFixtures/java/org/springframework/core/testfixture Merge branch '5.3.x' 2022-10-24 11:11:59 +01:00