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 50843] DateFormat.getDateTimeInstance() is very expensive, we can cache it to improve performance
Date Sat, 26 Mar 2011 10:06:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50843

J.M. (Martijn) Kruithof <jkf@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
         OS/Version|                            |All

--- Comment #1 from J.M. (Martijn) Kruithof <jkf@apache.org> 2011-03-26 06:06:11 EDT
---
In ./apache-ant-1.8.2/src/main/org/apache/tools/ant/taskdefs/Touch.java line:75
, getDateTimeInstance() is called only once configure time

./apache-ant-1.8.2/src/main/org/apache/tools/ant/types/resources/selectors/Date.java
 line: 141
the method getDateTimeInstance() is only called once, on every further
execution millis will have been set.

-- 
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