[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2892) Bad usage of List.get() in EntityBeanList.class

Benjamin Graf (JIRA) jira-events at lists.jboss.org
Mon Apr 14 07:23:54 EDT 2008


Bad usage of List.get() in EntityBeanList.class
-----------------------------------------------

                 Key: JBSEAM-2892
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2892
             Project: Seam
          Issue Type: Bug
    Affects Versions: 2.0.1.GA
            Reporter: Benjamin Graf


The passivateAll() method does an iteration over a list of to passivated entities. But the implementation uses the get-method of the list interface which has very bad performance on LinkedList. It should better use the list-iterator instead!

-- 
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 seam-issues mailing list