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 GitHub
parent d334146ccd
commit 8d815d55f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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