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 Fri, 02 Sep 2005 03:28:23 GMT

See: http://svn.apache.org/viewcvs?rev=266246&view=rev

Is this what you have in mind? ;-)

Best Regards,

Antonio Gallardo

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 :-)
>
> Thanks,
> Vadim
>
> [1] 
> http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/time/FastDateFormat.html

>



Mime
View raw message