Skip to content

Conversation

Torres-09
Copy link
Contributor

Summary

Refactored DefaultRestClient constructor and DefaultRestClientBuilder's build method.

Changes

Improved readability by aligning the order of parameters and their initialization in the DefaultRestClient constructor. (The reason for changing the order is to match the field order of the class)
Ensured consistency by renaming the only parameter whose name didn’t match its corresponding field.

Other

No functional changes.
All tests pass.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 17, 2024
@bclozel
Copy link
Member

bclozel commented Oct 18, 2024

Thanks for the proposal but I don't think this makes the code more readable nor helps with maintenance.

@bclozel bclozel closed this Oct 18, 2024
@bclozel bclozel added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Oct 18, 2024
@Torres-09
Copy link
Contributor Author

Thank you for reviewing the proposal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants