From: David ‘Bombe’ Roden Date: Sun, 17 Apr 2011 10:16:44 +0000 (+0200) Subject: Fix logging of expression. X-Git-Tag: 0.6.2^2~2 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=687f0d7fa8b9b070f8967192483c05546a4439f5 Fix logging of expression. --- diff --git a/src/main/java/net/pterodactylus/sone/web/SearchPage.java b/src/main/java/net/pterodactylus/sone/web/SearchPage.java index 94b296c..74bfd10 100644 --- a/src/main/java/net/pterodactylus/sone/web/SearchPage.java +++ b/src/main/java/net/pterodactylus/sone/web/SearchPage.java @@ -192,7 +192,7 @@ public class SearchPage extends SoneTemplatePage { * @return The score of the expression */ private double calculateScore(List phrases, String expression) { - logger.log(Level.FINEST, "Calculating Score for “" + expression + "”…"); + logger.log(Level.FINEST, "Calculating Score for “%s”…", expression); double optionalHits = 0; double requiredHits = 0; int forbiddenHits = 0;