diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpContentCompressor.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpContentCompressor.java index f35dffb337..903899fffc 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpContentCompressor.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/HttpContentCompressor.java @@ -167,7 +167,7 @@ public class HttpContentCompressor extends HttpContentEncoder { deflateOptions = StandardCompressionOptions.deflate(); zstdOptions = StandardCompressionOptions.zstd(); } else { - ObjectUtil.deepCheckNotNull("compressionOptionsIterable", compressionOptions); + ObjectUtil.deepCheckNotNull("compressionOptions", compressionOptions); for (CompressionOptions compressionOption : compressionOptions) { if (compressionOption instanceof BrotliOptions) { brotliOptions = (BrotliOptions) compressionOption;