juergen     02/05/07 06:04:31

  Modified:    src/webdav/server/org/apache/slide/webdav/method
                        LabelMethod.java
  Log:
  Fixed javadoc.
  Use DeltavConstant E_LABEL_NAME instead of P_LABEL_NAME.
  (ralf)
  
  Revision  Changes    Path
  1.3       +11 -11    
jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/LabelMethod.java
  
  Index: LabelMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/LabelMethod.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LabelMethod.java  30 Apr 2002 12:39:19 -0000      1.2
  +++ LabelMethod.java  7 May 2002 13:04:31 -0000       1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/LabelMethod.java,v
 1.2 2002/04/30 12:39:19 pnever Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/04/30 12:39:19 $
  + * $Header: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/LabelMethod.java,v
 1.3 2002/05/07 13:04:31 juergen Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/05/07 13:04:31 $
    *
    * ====================================================================
    *
  @@ -115,7 +115,7 @@
   /**
    * LABEL method.
    *
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Ralf Stuckert</a>
    */
  @@ -415,7 +415,7 @@
               if (DeltavConstants.E_REMOVE.equals(operation)) {
                   PropertyHelper.removeElementFromProperty(revisionDescriptor,
                                                            P_LABEL_NAME_SET,
  -                                                         P_LABEL_NAME,
  +                                                         E_LABEL_NAME,
                                                            label);
                   content.store(slideToken, revisionDescriptors.getUri(), 
revisionDescriptor, null);
               }
  @@ -427,7 +427,7 @@
                                                                    label);
                       
PropertyHelper.removeElementFromProperty(alreadyLabeledDescriptor,
                                                                P_LABEL_NAME_SET,
  -                                                             P_LABEL_NAME,
  +                                                             E_LABEL_NAME,
                                                                label);
                       content.store(slideToken, revisionDescriptors.getUri(), 
alreadyLabeledDescriptor, null);
                   }
  @@ -440,7 +440,7 @@
                   DeltavConstants.E_SET.equals(operation) ) {
                   PropertyHelper.addElementToProperty(revisionDescriptor,
                                                       P_LABEL_NAME_SET,
  -                                                    P_LABEL_NAME,
  +                                                    E_LABEL_NAME,
                                                       label);
                   content.store(slideToken, revisionDescriptors.getUri(), 
revisionDescriptor, null);
               }
  @@ -450,10 +450,10 @@
       /**
        * Checks the (DeltaV) preconditions
        * <ul>
  -     * <li>&lt;code&gt;DAV:must-be-checked-in&lt;/code&gt;</li>
  -     * <li>&lt;code&gt;DAV:must-select-version-in-history&lt;/code&gt;</li>
  -     * <li>&lt;code&gt;DAV:must-be-new-label&lt;/code&gt;</li>
  -     * <li>&lt;code&gt;DAV:label-must-exist&lt;/code&gt;</li>
  +     * <li>&lt;DAV:must-be-checked-in&gt;</li>
  +     * <li>&lt;DAV:must-select-version-in-history&gt;</li>
  +     * <li>&lt;DAV:must-be-new-label&gt;</li>
  +     * <li>&lt;DAV:label-must-exist&gt;</li>
        * </ul>
        *
        * @param      resourcePath       the URI of the resource.
  
  
  

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

Reply via email to