netty5/common/src
Oleksii Kachaiev b3500f50a6 Java 8 migration. Replace Collection.newSetFromMap with ConcurrentHashMap.newKeySet (#8756)
Motivation:

Simplify code with newer Java API. It also reduce levels of indirection, but I don't
think we can gain any visible performance improvements out of this.

Modifications:

Replace Collection.newSetFromMap(new ConcurrentHashMap()) with ConcurrentHashMap.newKeySet().

Result:

Use Java8 APIs.
2019-01-22 16:41:15 +01:00
..
main Java 8 migration. Replace Collection.newSetFromMap with ConcurrentHashMap.newKeySet (#8756) 2019-01-22 16:41:15 +01:00
test Java 8 migration: Use diamond operator (#8749) 2019-01-22 16:07:26 +01:00