netty5/codec
Boris Unckel a5e3b59de3 Utilize i.n.u.internal.ObjectUtil to assert Preconditions (codec) (#11170) (#11179)
Motivation:

NullChecks resulting in a NullPointerException or IllegalArgumentException, numeric ranges (>0, >=0) checks, not empty strings/arrays checks must never be anonymous but with the parameter or variable name which is checked. They must be specific and should not be done with an "OR-Logic" (if a == null || b == null) throw new NullPointerEx.

Modifications:

* import static relevant checks
* Replace manual checks with ObjectUtil methods

Result:

All checks needed are done with ObjectUtil, some exception texts are improved.

Fixes #11170
2021-04-22 10:58:02 +02:00
..
src Utilize i.n.u.internal.ObjectUtil to assert Preconditions (codec) (#11170) (#11179) 2021-04-22 10:58:02 +02:00
pom.xml Remove support for JZlib (#11058) 2021-03-04 18:20:12 +01:00