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