From 96bb33ed9b6e8e97c3426b885515cda38c0b251b Mon Sep 17 00:00:00 2001 From: orbiter Date: Wed, 9 Mar 2011 09:53:57 +0000 Subject: [PATCH] added default size to StringBuffer in logger (and it is not possible to replace the StringBuffer with a StringBuilder...) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7573 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/net/yacy/kelondro/logging/SimpleLogFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/kelondro/logging/SimpleLogFormatter.java b/source/net/yacy/kelondro/logging/SimpleLogFormatter.java index a36486133..240114770 100644 --- a/source/net/yacy/kelondro/logging/SimpleLogFormatter.java +++ b/source/net/yacy/kelondro/logging/SimpleLogFormatter.java @@ -45,7 +45,7 @@ public final class SimpleLogFormatter extends SimpleFormatter { // e.g. 2005/05/25 11:22:53 private final SimpleDateFormat formatter = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.US); - private final StringBuffer buffer = new StringBuffer(); + private final StringBuffer buffer = new StringBuffer(80); public SimpleLogFormatter() { super();