From be6acf721f680dc00cf5d4dce8132d9065400a69 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Mon, 30 Jun 2008 13:55:55 +0000 Subject: [PATCH] added toString() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@672767 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/afp/fonts/AFPFont.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/render/afp/fonts/AFPFont.java b/src/java/org/apache/fop/render/afp/fonts/AFPFont.java index 2819cf12c..e87675e63 100644 --- a/src/java/org/apache/fop/render/afp/fonts/AFPFont.java +++ b/src/java/org/apache/fop/render/afp/fonts/AFPFont.java @@ -41,7 +41,6 @@ public abstract class AFPFont extends Typeface { */ public AFPFont(String name) { this.name = name; - } /** {@inheritDoc} */ @@ -106,4 +105,8 @@ public abstract class AFPFont extends Typeface { return true; } + /** {@inheritDoc} */ + public String toString() { + return "name=" + name; + } } \ No newline at end of file -- 2.39.5