Add default block in IdleStateHandler (#11341)

Motivation:

We should have a default case in every switch block.

Modification:

Add default block in IdleStateHandler

Result:

Cleanup

Signed-off-by: xingrufei <xingrufei@sogou-inc.com>
This commit is contained in:
skyguard1 2021-06-01 14:01:32 +08:00 committed by GitHub
parent a64a7eb39d
commit d334146ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,6 +312,8 @@ public class IdleStateHandler extends ChannelDuplexHandler {
case 1:
case 2:
return;
default:
break;
}
state = 1;