cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: svn commit: r264923 - in /cocoon/trunk: src/java/org/apache/cocoon/util/log/CocoonLogFormatter.java status.xml
Date Thu, 01 Sep 2005 13:43:30 GMT
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