Remove the 'throw new NullPointerException' in the code
-------------------------------------------------------
Key: DIRSERVER-1515
URL: https://issues.apache.org/jira/browse/DIRSERVER-1515
Project: Directory ApacheDS
Issue Type: Bug
Affects Versions: 1.5.7
Reporter: Emmanuel Lecharny
Fix For: 2.0.0-RC1
There are 43 places where we throw a NullPointerException explicitely. This is
very worng. If we do that when a method argument is null, we should instead
throw a IllegalArgumentException.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.