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
aa003f8fec
commit
c5b5ea5e75
@ -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