[ https://jira.jboss.org/browse/PCACHE-20?page=com.atlassian.jira.plugin.sy... ]
Scott Marlow resolved PCACHE-20.
--------------------------------
Resolution: Won't Fix
> List and Set.size() optimization in PojoCache
> ---------------------------------------------
>
> Key: PCACHE-20
> URL: https://jira.jboss.org/browse/PCACHE-20
> Project: JBoss POJO Cache
> Issue Type: Task
> Components: Collections
> Reporter: Ben Wang
> Assignee: Scott Marlow
> Priority: Minor
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Optimize the evuation of size() by tracking the number of node elements actively. This can also prevent recursive loop during evaluation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
for-each on empty Caches.asPartitionedMap throws NoSuchElementException
-----------------------------------------------------------------------
Key: JBCACHE-1593
URL: https://jira.jboss.org/browse/JBCACHE-1593
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.2.5.GA, 3.2.4.GA
Environment: Linux, java jdk 1.6, jboss core cache 3.2.5 (and previously 3.2.4)
Reporter: C Unitt
Assignee: Manik Surtani
Using a for-each loop on an empty map returned by Caches.asPartitionedMap throws NoSuchElementException.
See Steps To Reproduce for junit test which shows the problem and describes the work-around.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira