You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by "Rainer Döbele (JIRA)" <em...@incubator.apache.org> on 2013/09/05 11:40:53 UTC
[jira] [Resolved] (EMPIREDB-181) Do not check for item count in
ListPageElement.isValid()
[ 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