juergen     02/02/13 00:57:18

  Modified:    src/webdav/server/org/apache/slide/webdav/method
                        PutMethod.java
  Log:
  added support of propertyValueContains method. (Eckehard)
  
  Revision  Changes    Path
  1.23      +6 -4      
jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/PutMethod.java
  
  Index: PutMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/PutMethod.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- PutMethod.java    4 Jan 2002 15:25:26 -0000       1.22
  +++ PutMethod.java    13 Feb 2002 08:57:18 -0000      1.23
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/PutMethod.java,v
 1.22 2002/01/04 15:25:26 juergen Exp $
  - * $Revision: 1.22 $
  - * $Date: 2002/01/04 15:25:26 $
  + * $Header: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/PutMethod.java,v
 1.23 2002/02/13 08:57:18 juergen Exp $
  + * $Revision: 1.23 $
  + * $Date: 2002/02/13 08:57:18 $
    *
    * ====================================================================
    *
  @@ -192,7 +192,9 @@
                   // 'resourcetype' need to check for the case when a
                   // 'lock-null' is created just before the initial PUT. In
                   // that case need to add the missing properties.
  -                if (revisionDescriptor.getResourceType().equals("<lock-null/>")) {
  +                if (revisionDescriptor.propertyValueContains
  +                        (revisionDescriptor.RESOURCE_TYPE ,"lock-null")){
  +//              if (revisionDescriptor.getResourceType().equals("<lock-null/>")) {
                       revisionDescriptor.setContentLanguage("en");
                       
                       String contentType = req.getContentType();
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to