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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Aug 20 17:19:23 EDT 2009


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry closed EJBTHREE-1898.
--------------------------------------

    Resolution: Done


> 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
>    Affects Versions: 1.1.15
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Minor
>             Fix For: 1.1.16
>
>
> 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