[dna-issues] [JBoss JIRA] Created: (DNA-163) Most, if not all, of the assertions in BasicMultiValueProperty are incorrect.
Johnny Verhaeg (JIRA)
jira-events at lists.jboss.org
Tue Jun 17 15:48:07 EDT 2008
Most, if not all, of the assertions in BasicMultiValueProperty are incorrect.
-----------------------------------------------------------------------------
Key: DNA-163
URL: http://jira.jboss.com/jira/browse/DNA-163
Project: DNA
Issue Type: Bug
Components: SPI
Affects Versions: 0.1
Reporter: Johnny Verhaeg
Assigned To: Johnny Verhaeg
Fix For: 0.2
They definitely should not exist in the "is" methods, as they violate the contract described by the JavaDocs. If the values parameter passed into the constructor is null, either an assertion error should be thrown, an empty list should be created, or the various methods should handle the null value without throwing an exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list