From 059f5e23969d6ec563851cb70c44de3bd506d5d8 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Fri, 19 Sep 2014 10:28:33 +1000 Subject: [PATCH] 444547 Format exception in ResourceCache.Content.toString() --- .../src/main/java/org/eclipse/jetty/server/ResourceCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/ResourceCache.java b/jetty-server/src/main/java/org/eclipse/jetty/server/ResourceCache.java index 3e811fe82d4..7952ba5320d 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/ResourceCache.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/ResourceCache.java @@ -504,7 +504,7 @@ public class ResourceCache @Override public String toString() { - return String.format("CachedContent@%x{r=%s,e=%b,lm=%d,ct=%s}",hashCode(),_resource,_resource.exists(),BufferUtil.toString(_lastModifiedBytes),_contentType); + return String.format("CachedContent@%x{r=%s,e=%b,lm=%s,ct=%s}",hashCode(),_resource,_resource.exists(),BufferUtil.toString(_lastModifiedBytes),_contentType); } } }