Skip to content
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

Add default block in CompositeByteBuf #11178

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

skyguard1
Copy link
Contributor

Motivation:

Fix switch case fall through, add default block in CompositeByteBuf

Signed-off-by: xingrufei <xingrufei@sogou-inc.com>
@normanmaurer normanmaurer merged commit 1d802d9 into netty:4.1 Apr 22, 2021
@normanmaurer normanmaurer added this to the 4.1.64.Final milestone Apr 22, 2021
@normanmaurer
Copy link
Member

Thanks a lot

normanmaurer pushed a commit that referenced this pull request Apr 22, 2021
Motivation:

Switch statements should always have a default block to ensure we not "fall-through" by mistake.

Modification:

Add default block

Result:

code cleanup.

Signed-off-by: xingrufei <xingrufei@sogou-inc.com>

Co-authored-by: xingrufei <xingrufei@sogou-inc.com>
@skyguard1
Copy link
Contributor Author

@normanmaurer, it is my pleasure

raidyue pushed a commit to raidyue/netty that referenced this pull request Jul 8, 2022
Motivation:

Switch statements should always have a default block to ensure we not "fall-through" by mistake.

Modification:

Add default block

Result:

code cleanup.

Signed-off-by: xingrufei <xingrufei@sogou-inc.com>

Co-authored-by: xingrufei <xingrufei@sogou-inc.com>
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.

None yet

2 participants