Skip to content

Auto-port 5.0: fix: the precedence of + is higher than >>#16317

Merged
chrisvest merged 1 commit into5.0from
auto-port-pr-16312-to-5.0
Feb 21, 2026
Merged

Auto-port 5.0: fix: the precedence of + is higher than >>#16317
chrisvest merged 1 commit into5.0from
auto-port-pr-16312-to-5.0

Conversation

@netty-project-bot
Copy link
Copy Markdown
Contributor

Auto-port of #16312 to 5.0
Cherry-picked commit: e855de5


Motivation:
Code does not take operator precedence into account.

Modification:
Add parenthesis to force operator precedence to match the comments.

Result:
Array size increments works as intended.

Motivation:
Code does not take operator precedence into account.

Modification:
Add parenthesis to force operator precedence to match the comments.

Result:
Array size increments works as intended.

(cherry picked from commit e855de5)
@chrisvest chrisvest added this to the 5.0.0.Final milestone Feb 20, 2026
@chrisvest chrisvest enabled auto-merge (squash) February 20, 2026 22:58
@chrisvest chrisvest disabled auto-merge February 21, 2026 01:19
@chrisvest chrisvest merged commit 27eccd4 into 5.0 Feb 21, 2026
12 of 13 checks passed
@chrisvest chrisvest deleted the auto-port-pr-16312-to-5.0 branch February 21, 2026 01:19
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