netty5/codec-http
Dmitriy Dumanskiy afc03da93b Java 8 migration. Use reference to StandardCharsets in CharsetUtil. (#8757)
Motivation:

No need to initialize charsets from the string. We can take already allocated charset from StandardCharsets class.

Modification:

Replace Charset.forName("US-ASCII") with StandardCharsets.US_ASCII.
Removed Charset[] values() method and internal static variable as it was used only in tests.

Result:

Reuse what the JDK provides
2019-01-22 16:50:36 +01:00
..
src Java 8 migration. Use reference to StandardCharsets in CharsetUtil. (#8757) 2019-01-22 16:50:36 +01:00
pom.xml Correcting Maven Dependencies (#8622) 2018-12-06 09:02:00 +01:00