3 ms·
>checks all parameters that are not nullable (most of them) with Objects.requireNonNull I would go as far as say 95% of them are. So now your code is filled wi
by imtringued 6y ago
>checks all parameters that are not nullable (most of them) with Objects.requireNonNull
I would go as far as say 95% of them are. So now your code is filled with effectively pointless checks (you run into an error at runtime instead of compile time) if your language had non nullable variables in the first place.