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 ju...@apache.org on 2002/07/08 15:13:30 UTC

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

juergen     2002/07/08 06:13:30

  Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
                        CheckinMethod.java
  Log:
  bug: send the real body/query instead of a hard-coded string.
  
  Revision  Changes    Path
  1.5       +13 -7     jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/CheckinMethod.java
  
  Index: CheckinMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/CheckinMethod.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CheckinMethod.java	25 Apr 2002 21:12:29 -0000	1.4
  +++ CheckinMethod.java	8 Jul 2002 13:13:30 -0000	1.5
  @@ -158,14 +158,20 @@
        * @return String query
        */
       public String generateQuery() {
  -
  +        String result = "";
           
  +        if (query != null) result = query;
  +        
  +        return result;
  +        
  +        
  +        
  +        
  +        /*if (query != null)
  +            return printer.toString()+ query;
           XMLPrinter printer = new XMLPrinter();
           printer.writeXMLHeader();
           System.out.println(printer.toString());
  -        return "";
  -        /*if (query != null)
  -            return printer.toString()+ query;
           printer.writeElement("D", "DAV:", "checkin",
                                XMLPrinter.OPENING);
         
  
  
  

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