Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.8.0
-
None
-
None
Description
Currently some NullPointer checks are IllegalArgumentException, at other points a lot of constructor and/or method logic happens before a null pointer occurs.
The approach is to make these places use Objects.requireNonNull(sampleObject,"sampleObject");