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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to