From 66b969f80b7da1af60c82183d13aa9146c81610e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 2 Dec 2010 20:07:15 +0100 Subject: [PATCH] Fix log output. --- src/main/java/net/pterodactylus/sone/text/FreenetLinkParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/text/FreenetLinkParser.java b/src/main/java/net/pterodactylus/sone/text/FreenetLinkParser.java index f36b6df..906571b 100644 --- a/src/main/java/net/pterodactylus/sone/text/FreenetLinkParser.java +++ b/src/main/java/net/pterodactylus/sone/text/FreenetLinkParser.java @@ -127,7 +127,7 @@ public class FreenetLinkParser implements Parser { parts.add(createPlainTextPart(line.substring(0, next))); String link = line.substring(next, nextSpace); String name = link; - logger.log(Level.FINER, "Found link: " + link); + logger.log(Level.FINER, "Found link: %s", link); logger.log(Level.FINEST, "Next: %d, CHK: %d, SSK: %d, USK: %d", new Object[] { next, nextChk, nextSsk, nextUsk }); if (((linkType == LinkType.CHK) || (linkType == LinkType.SSK) || (linkType == LinkType.USK)) && (link.length() > 98) && (link.charAt(47) == ',') && (link.charAt(91) == ',') && (link.charAt(99) == '/')) { name = link.substring(0, 47) + "…" + link.substring(99); -- 2.7.4