Fix logging of expression.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / SearchPage.java
index 90f9ac7..74bfd10 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - OptionsPage.java - Copyright © 2010 David Roden
+ * Sone - SearchPage.java - Copyright © 2010 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -192,7 +192,7 @@ public class SearchPage extends SoneTemplatePage {
         * @return The score of the expression
         */
        private double calculateScore(List<Phrase> 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;