Skip to content

remove thenReturn that fetches unused values #34883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Tussle0410
Copy link
Contributor

The onErrorResume() method uses the con value, but this value is not data received from thenReturn(), and since it doesn't use the data after thenReturn() chaining but proceeds with then(), I determined it was unnecessary and removed it.

If there might be any other intention for using thenReturn beyond using its value, I would appreciate if you could let me know.

Signed-off-by: ChanHyeongLee <cksgud410@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged or decided on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants