+1 for NPE

    On Friday, 6 December 2019, 5:22:34 am NZDT, Gary Gregory 
<garydgreg...@gmail.com> wrote:  
 
 Hi All:

org.apache.commons.collections4.CollectionUtils contains a mix of checking
for null inputs by throwing NullPointerExceptions in some methods and
IllegalArgumentExceptions in others.

I propose we standardized to NPE simply because the JRE provides
Objects.requireNonNull() just for this purpose.

Gary
  

Reply via email to