From ef304a97a23d2f6162d38e65550988f22d16af04 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 9 Oct 2012 09:18:30 +0200 Subject: [PATCH] Fix logging. Thanks, digger3, for noticing this one! --- src/main/java/net/pterodactylus/sone/web/page/FreenetTemplatePage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/web/page/FreenetTemplatePage.java b/src/main/java/net/pterodactylus/sone/web/page/FreenetTemplatePage.java index 97ee53b..addbf7f 100644 --- a/src/main/java/net/pterodactylus/sone/web/page/FreenetTemplatePage.java +++ b/src/main/java/net/pterodactylus/sone/web/page/FreenetTemplatePage.java @@ -156,7 +156,7 @@ public class FreenetTemplatePage implements FreenetPage, LinkEnabledCallback { long start = System.nanoTime(); processTemplate(request, templateContext); long finish = System.nanoTime(); - logger.log(Level.FINEST, "Template was rendered in %dms.", ((finish - start) / 1000) / 1000.0); + logger.log(Level.FINEST, String.format("Template was rendered in %dms.", ((finish - start) / 1000) / 1000.0)); } catch (RedirectException re1) { return new RedirectResponse(re1.getTarget()); } -- 2.7.4