[dna-issues] [JBoss JIRA] Assigned: (DNA-163) Most, if not all, of the assertions in BasicMultiValueProperty are incorrect.

Randall Hauch (JIRA) jira-events at lists.jboss.org
Wed Jul 9 17:34:26 EDT 2008


     [ http://jira.jboss.com/jira/browse/DNA-163?page=all ]

Randall Hauch reassigned DNA-163:
---------------------------------

    Assignee: Randall Hauch  (was: Johnny Verhaeg)

> 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: Randall Hauch
>             Fix For: 0.2
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> 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