netty5/common/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 Simplify SingleThreadEventExecutor.awaitTermination() implementation (#9081) 2019-05-27 16:09:41 +02:00
test Call to ‘asList’ with only one argument could be replaced with ‘singletonList’ (#9288) 2019-06-26 21:07:11 +02:00