Add default block in HttpClientCodec (#11352)

Motivation:

There should always be a default in switch blocks.

Modification:

Add default

Result:

Code cleanup.

Signed-off-by: xingrufei <xingrufei@sogou-inc.com>
This commit is contained in:
skyguard1 2021-06-02 14:40:36 +08:00 committed by Norman Maurer
parent 7b3e28f96f
commit a975f42d6e

View File

@ -310,6 +310,8 @@ public final class HttpClientCodec extends CombinedChannelDuplexHandler<HttpResp
}
}
break;
default:
break;
}
}
return super.isContentAlwaysEmpty(msg);