Skip to content

Consistently implement toString() in BackOff strategies #35120

Closed
@sbrannen

Description

@sbrannen

Overview

Currently, there are some inconsistencies in the toString() implementations in our BackOff strategies.

  • FixedBackOff does not implement toString().
  • FixedBackOffExecution implements toString() but claims that it is FixedBackOff.
  • The existing toString() implementations wrap properties in {} instead of [].

Having proper, consistent toString() implementations in FixedBackOff and ExponentialBackOff is also a prerequisite for #35110, since the RetryPolicy will include the configured BackOff in its toString() representation.

Related Issues

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions