cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo <agalla...@agssa.net>
Subject Re: svn commit: r264923 - in /cocoon/trunk: src/java/org/apache/cocoon/util/log/CocoonLogFormatter.java status.xml
Date Thu, 01 Sep 2005 14:15:56 GMT
Vadim Gritsenko wrote:

> antonio@apache.org wrote:
>
>> -    protected final static SimpleDateFormat DATE_FORMATTER = new 
>> SimpleDateFormat("(yyyy-MM-dd) HH:mm.ss:SSS");
>> +    private static final String DEFAULT_TIME_PATTERN = "(yyyy-MM-dd) 
>> HH:mm.ss:SSS";
>
>
> Antonio,
>
> According to [1]:
>
>     FastDateFormat is a fast and thread-safe version of SimpleDateFormat.
>
> So I suggest revisiting this piece of code in order to improve 
> efficiency :-)


You are right! I will fix this today after work. :-)

Best Regards,

Antonio Gallardo

>
>
> [1] 
> http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/time/FastDateFormat.html

>



Mime
View raw message