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 Norman Maurer
parent bc00c22634
commit cfd64f7ced

View File

@ -313,6 +313,8 @@ public class IdleStateHandler implements ChannelHandler {
case 1:
case 2:
return;
default:
break;
}
state = 1;