netty5/common
Nikolay Fedorovskikh c9668ce40f The constants calculation in compile-time
Motivation:
Allow pre-computing calculation of the constants for compiler where it could be.
Similar fix in OpenJDK: [1].

Modifications:
- Use parentheses.
- Simplify static initialization of `BYTE2HEX_*` arrays in `StringUtil`.

Result:
Less bytecode, possible faster calculations at runtime.

[1] https://bugs.openjdk.java.net/browse/JDK-4477961
2017-12-21 07:41:38 +01:00
..
src The constants calculation in compile-time 2017-12-21 07:41:38 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-12-15 13:10:54 +00:00