You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/06/04 16:04:58 UTC
[jira] Resolved: (DIRSERVER-1515) Remove the 'throw new
NullPointerException' in the code
[ https://issues.apache.org/jira/browse/DIRSERVER-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRSERVER-1515.
------------------------------------------
Resolution: Fixed
Fixed with http://svn.apache.org/viewvc?rev=951408&view=rev
> 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
> Assignee: 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.