You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/01/26 18:50:52 UTC
cvs commit: xml-fop/src/java/org/apache/fop/fo/flow Marker.java
jeremias 2005/01/26 09:50:52
Modified: src/java/org/apache/fop/fo/flow Marker.java
Log:
toString()
Revision Changes Path
1.24 +8 -1 xml-fop/src/java/org/apache/fop/fo/flow/Marker.java
Index: Marker.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/Marker.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- Marker.java 24 Dec 2004 12:06:26 -0000 1.23
+++ Marker.java 26 Jan 2005 17:50:52 -0000 1.24
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -143,6 +143,13 @@
return FO_MARKER;
}
+ /** @see java.lang.Object#toString() */
+ public String toString() {
+ StringBuffer sb = new StringBuffer(super.toString());
+ sb.append(" {").append(getMarkerClassName()).append("}");
+ return sb.toString();
+ }
+
/**
* An implementation of PropertyList which only stores the explicit
* assigned properties. It is memory efficient but slow.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org