You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/04/29 21:17:31 UTC
[tomcat] branch master updated: Align with 8.5.x and 7.0.x
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 669d640 Align with 8.5.x and 7.0.x
669d640 is described below
commit 669d640ef2fc5120c9283c23cdbca5b3f3823bf3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Apr 29 22:10:56 2019 +0100
Align with 8.5.x and 7.0.x
---
java/org/apache/juli/OneLineFormatter.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/java/org/apache/juli/OneLineFormatter.java b/java/org/apache/juli/OneLineFormatter.java
index f604242..75845cf 100644
--- a/java/org/apache/juli/OneLineFormatter.java
+++ b/java/org/apache/juli/OneLineFormatter.java
@@ -85,8 +85,9 @@ public class OneLineFormatter extends Formatter {
* @param timeFormat The format to use using the
* {@link java.text.SimpleDateFormat} syntax
*/
- public void setTimeFormat(String timeFormat) {
- DateFormatCache globalDateCache = new DateFormatCache(globalCacheSize, timeFormat, null);
+ public void setTimeFormat(final String timeFormat) {
+ final DateFormatCache globalDateCache =
+ new DateFormatCache(globalCacheSize, timeFormat, null);
localDateCache = new ThreadLocal<DateFormatCache>() {
@Override
protected DateFormatCache initialValue() {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org