You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by re...@apache.org on 2001/11/06 20:41:27 UTC

cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib BaseProperty.java

remm        01/11/06 11:41:27

  Modified:    src/webdav/client/src/org/apache/webdav/lib
                        BaseProperty.java
  Log:
  - Use PropertyWriter instead of DOMWriter.
  
  Revision  Changes    Path
  1.3       +7 -7      jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/BaseProperty.java
  
  Index: BaseProperty.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/BaseProperty.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BaseProperty.java	2001/08/24 20:16:39	1.2
  +++ BaseProperty.java	2001/11/06 19:41:27	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/BaseProperty.java,v 1.2 2001/08/24 20:16:39 dirkv Exp $
  - * $Revision: 1.2 $
  - * $Date: 2001/08/24 20:16:39 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/BaseProperty.java,v 1.3 2001/11/06 19:41:27 remm Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/11/06 19:41:27 $
    *
    * ====================================================================
    *
  @@ -68,13 +68,13 @@
   import org.w3c.dom.Element;
   
   import org.apache.util.DOMUtils;
  -import org.apache.util.DOMWriter;
  +import org.apache.util.PropertyWriter;
   
   /**
    * This interface models a DAV property.
    *
    * @author Remy Maucherat
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class BaseProperty implements Property {
   
  @@ -210,8 +210,8 @@
        */
       public String toString () {
           StringWriter tmp = new StringWriter();
  -        DOMWriter domWriter = new DOMWriter(tmp, true);
  -        domWriter.print(element);
  +        PropertyWriter propertyWriter = new PropertyWriter(tmp, true);
  +        propertyWriter.print(element);
           return tmp.getBuffer().toString();
       }
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>