netty5/codec-http/src
jimin 3e836bd3fe Call to ‘asList’ with only one argument could be replaced with ‘singletonList’ (#9288)
Motivation:

asList should only be used if there are multiple elements.

Modification:

Call to asList with only one argument could be replaced with singletonList

Result:

Cleaner code and a bit of memory savings
2019-06-26 21:07:11 +02:00
..
main Preserve the original filename when encoding a multipart/form in mixed mode. (#9270) 2019-06-24 10:40:39 +02:00
test Call to ‘asList’ with only one argument could be replaced with ‘singletonList’ (#9288) 2019-06-26 21:07:11 +02:00