https://issues.apache.org/bugzilla/show_bug.cgi?id=48922
Summary: org.apache.catalina.connector.Request clone static SimpleDateFormat Product: Tomcat 6 Version: unspecified Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: xmed...@gmail.com Faster usage of the thread unsafe SimpleDateFormat is: private static final SimpleDateFormat FORMAT_PROTOTYPE = new SimpleDateFormat("...", Locale.ROOT); static { format.setTimeZone(GMT_ZONE); } protected SimpleDateFormat format = (SimpleDateFormat)FORMAT_PROTOTYPE.clone(); Please, apply this pattern to the formats[] field. It shoudl speed up the request processing a little bit. Thanks -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org