pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Martini (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIVOT-708) DateFormat.getDateTimeInstance() is very expensive, we can cache it to improve performance
Date Fri, 25 Feb 2011 09:17:42 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sandro Martini updated PIVOT-708:
---------------------------------

    Fix Version/s: 2.0.1

> DateFormat.getDateTimeInstance() is very expensive, we can cache it to improve performance
> ------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-708
>                 URL: https://issues.apache.org/jira/browse/PIVOT-708
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 2.0
>            Reporter: Xiaoming Shi
>             Fix For: 2.0.1
>
>
> In the file 
> ./apache-pivot-2.0-src/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java

> line:281
> DateFormat.getDateTimeInstance() is created in the function. We can cache the result
by adding a static class field.
> It is similar to the Apache Bug https://issues.apache.org/bugzilla/show_bug.cgi?id=48778

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message