Fix method naming to follow Java camelCase conventions#48640
Closed
GaoSSR wants to merge 1 commit intospring-projects:mainfrom
Closed
Fix method naming to follow Java camelCase conventions#48640GaoSSR wants to merge 1 commit intospring-projects:mainfrom
GaoSSR wants to merge 1 commit intospring-projects:mainfrom
Conversation
Rename createhttpClientConnectionOperator to createHttpClientConnectionOperator to follow standard Java camelCase naming conventions where each word in a compound name should start with an uppercase letter. Signed-off-by: 高春晖 <18220699480@163.com>
snicoll
pushed a commit
that referenced
this pull request
Dec 30, 2025
See gh-48640 Signed-off-by: 高春晖 <18220699480@163.com>
Member
|
@GaoSSR thank you for the PR. FYI, we do not need a lengthy description that seems to be generated by a LLM for a two lines change. Such PR can be reviewed based on the merit of the code only. |
Contributor
Author
|
Thanks for the feedback,I'll keep the description brief next time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes a method naming issue in
LocalHttpClientTransportwhere the method namecreatehttpClientConnectionOperatordoes not follow standard Java camelCase naming conventions.Changes
Renamed
createhttpClientConnectionOperatortocreateHttpClientConnectionOperatorto ensure proper capitalization of the "Http" portion of the method name, following Java naming conventions where each word in a compound name should start with an uppercase letter.Why This Matters
Consistent naming conventions improve code readability and maintainability. The original method name
createhttpClientConnectionOperatorincorrectly uses lowercase "http" instead of "Http", which deviates from the standard Java camelCase convention used throughout the Spring Boot codebase.