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:
parent
bc00c22634
commit
cfd64f7ced
@ -313,6 +313,8 @@ public class IdleStateHandler implements ChannelHandler {
|
||||
case 1:
|
||||
case 2:
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
state = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user