diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2015-07-09 18:37:31 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2015-07-09 18:37:31 +0000 |
commit | 6bd5f26e528912fdcf42255286e9d5af4905bed7 (patch) | |
tree | c815e29b4cb8da446323d8a862fdc1a6de9c6d2f /src/java/org | |
parent | 97fa0223ff696ac9657b7eb1c3ece7cd2f787d6f (diff) | |
download | xmlgraphics-fop-6bd5f26e528912fdcf42255286e9d5af4905bed7.tar.gz xmlgraphics-fop-6bd5f26e528912fdcf42255286e9d5af4905bed7.zip |
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
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/fonts/FontInfo.java | 10 |
1 files changed, 1 insertions, 9 deletions
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<String> entries = new TreeSet<String>(); 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()); } } |