Overview

Due to recent feedback from the community, we have reviewed the list of types explicitly supported by ObjectUtils.nullSafeConciseToString() and decided to expand the list to effectively match the types for which we have property editors in org.springframework.beans.propertyeditors.

Related Issues

  • 30286

  • 30661

  • 30799

Deliverables

Provide explicit support for the following types in ObjectUtils.nullSafeConciseToString() (and in ClassUtils.isSimpleValueType(Object) for 6.1).

  • [x] Optional
  • [x] File
  • [x] Path
  • [x] InetAddress
  • [x] Charset
  • [x] Currency
  • [x] TimeZone
  • [x] ZoneId
  • [x] Pattern