Skip to content

Fix comment and test-string typos - #3652

Merged
wasphin merged 1 commit into
apache:masterfrom
NUAAwqy:fix/comment-typos
Oct 24, 2026
Merged

wasphin merged 1 commit into
apache:masterfrom
NUAAwqy:fix/comment-typos

Conversation

@NUAAwqy

@NUAAwqy NUAAwqy commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Fixes a handful of comment typos found by code search (no behavior change):

  • overriden -> overridden (channel.cpp, tcmalloc_extension.cpp)
  • occured -> occurred (mongo_protocol.cpp)
  • acess -> access (butil/reloadable_flags.h)
  • Sucess -> Success (unasserted test payload in brpc_http_rpc_protocol_unittest.cpp)

overriden -> overridden (2), occured -> occurred, acess -> access,
Sucess -> Success (unasserted test payload). No behavior change.

Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are limited to spelling corrections, with no production logic changes or affected test assertions.

No open issues 🎉

What changed in this PR

This PR corrects spelling in bRPC comments and a test response string without changing production behavior.

Changes:

  • Corrects “overridden,” “occurred,” and “access” in four source comments.
  • Changes an unasserted test response payload from “Sucess” to “Success.”
File Description
test/​brpc_http_rpc_protocol_unittest.cpp Corrects the test response string to “Success.”
src/​butil/​reloadable_flags.h Corrects “access” in flag-access documentation.
src/​brpc/​policy/​mongo_protocol.cpp Corrects “occurred” in a connection-context comment.
src/​brpc/​details/​tcmalloc_extension.cpp Corrects “overridden” in a weak-function comment.
src/​brpc/​channel.cpp Corrects “overridden” in an option-validation comment.

Review effort: Balanced

@wasphin wasphin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wasphin
wasphin merged commit 2903d92 into apache:master Oct 24, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants