ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50822] New: DateFormat.getDateTimeInstance is expensive we can cache the result
Date Thu, 24 Feb 2011 02:59:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50822

           Summary: DateFormat.getDateTimeInstance is expensive we can
                    cache the result
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: notifications@ant.apache.org
        ReportedBy: xiaoming@cs.wisc.edu


DateFormat.getDateTimeInstance is expensive, and we can cache the value so that
we don't need to call it every time.

In the file :

./apache-ant-1.8.2/src/main/org/apache/tools/ant/DefaultLogger.java   line: 365

In the function getTimestamp.

This bug is similar to the bug  Apache 48778

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message