aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fonts')
-rw-r--r--src/java/org/apache/fop/fonts/FontInfo.java10
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());
}
}