Update HttpContentCompressor to pass correct message to ObjectUtil (#11482)
Motivation: In #11256, We introduced `Iterable` as a parameter but later in review, it was removed. But we forgot to change `compressionOptionsIterable` to just `compressionOptions`. Modification: Changed `compressionOptionsIterable` to `compressionOptions`. Result: Correct ObjectUtil message
This commit is contained in:
parent
8cbdefae23
commit
6085cd7ab6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user