DefaultContextFactoryExtensionPoint handling of null should be improved
-----------------------------------------------------------------------
Key: TUSCANY-2216
URL: https://issues.apache.org/jira/browse/TUSCANY-2216
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core Runtime
Affects Versions: Java-SCA-Next
Environment: svn revision 644847
Linux
Reporter: Mark Combellack
Assignee: Mark Combellack
Priority: Minor
Fix For: Java-SCA-Next
The JavaDoc for DefaultContextFactoryExtensionPoint is inclear as to what will
happen if a null is passed into the methods. What actually happens is that it
throws a NullPointerException.
After discussions in:
http://www.mail-archive.com/[email protected]/msg30064.html
I'm going to add a null check and throw IllegalArgumentException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]