empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Döbele (JIRA) <empire-db-...@incubator.apache.org>
Subject [jira] [Resolved] (EMPIREDB-181) Do not check for item count in ListPageElement.isValid()
Date Thu, 05 Sep 2013 09:40:53 GMT

     [ https://issues.apache.org/jira/browse/EMPIREDB-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rainer Döbele resolved EMPIREDB-181.
------------------------------------

       Resolution: Fixed
    Fix Version/s: empire-db-2.4.2
         Assignee: Rainer Döbele

fixed: List may now be empty while still valid. New property isEmpty() may be used to distinguish
the two cases.
                
> Do not check for item count in ListPageElement.isValid()
> --------------------------------------------------------
>
>                 Key: EMPIREDB-181
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-181
>             Project: Empire-DB
>          Issue Type: Bug
>            Reporter: Rainer Döbele
>            Assignee: Rainer Döbele
>            Priority: Trivial
>             Fix For: empire-db-2.4.2
>
>
> ListPageElement.isValid() checks whether the item list contains at least one entry. However
this is already provided by isEmpty() or isNotEmpty(). IsValid should only check whether the
item array has been initialized.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message