Missing toString for ExponentialBackOff #32061
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Affects: 6.0.11 (possibly earlier) up to latest commit in main branch
The class ExponentialBackOff has its toString() method defined in the wrong place:
spring-framework/spring-core/src/main/java/org/springframework/util/backoff/ExponentialBackOff.java
Line 257 in 7e51193
It is not defined for ExponentialBackOff itself, but for the inner class ExponentialBackOffExecution.
Thus, the following will print the hashCode instead of the nicely formatted output that was intended:
The text was updated successfully, but these errors were encountered: