From 6bd5f26e528912fdcf42255286e9d5af4905bed7 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Thu, 9 Jul 2015 18:37:31 +0000 Subject: Minor tweak: avoid using standard toString() for detailed diagnostics purposes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1690138 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fonts/FontInfo.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/java/org/apache/fop/fonts') diff --git a/src/java/org/apache/fop/fonts/FontInfo.java b/src/java/org/apache/fop/fonts/FontInfo.java index cea7e5107..617b5a4a7 100644 --- a/src/java/org/apache/fop/fonts/FontInfo.java +++ b/src/java/org/apache/fop/fonts/FontInfo.java @@ -644,14 +644,6 @@ public class FontInfo { * Diagnostic method for logging all registered fonts to System.out. */ public void dumpAllTripletsToSystemOut() { - System.out.print(toString()); - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { SortedSet entries = new TreeSet(); for (FontTriplet triplet : this.triplets.keySet()) { String key = getInternalFontKey(triplet); @@ -662,6 +654,6 @@ public class FontInfo { for (String str : entries) { stringBuffer.append(str); } - return stringBuffer.toString(); + System.out.println(stringBuffer.toString()); } } -- cgit v1.2.3