[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1898) Don't call GUID.toString() twice in StatefulTreeCache.get()

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Aug 20 13:53:24 EDT 2009


Don't call GUID.toString() twice in StatefulTreeCache.get()
-----------------------------------------------------------

                 Key: EJBTHREE-1898
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1898
             Project: EJB 3.0
          Issue Type: Sub-task
          Components: Clustering
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Minor


GUID.toString() is expensive and ends up being called twice in StatefulTreeCache.get(). Store the first result and reuse.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list