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] [Created] (EMPIREDB-181) Do not check for item count in ListPageElement.isValid()
Date Wed, 03 Apr 2013 11:35:15 GMT
Rainer Döbele created EMPIREDB-181:
--------------------------------------

             Summary: 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
            Priority: Trivial


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