jakarta-slide-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juer...@apache.org
Subject cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/method AbstractMultistatusResponseMethod.java
Date Mon, 08 Apr 2002 12:43:46 GMT
juergen     02/04/08 05:43:46

  Modified:    src/webdav/server/org/apache/slide/webdav/method
                        AbstractMultistatusResponseMethod.java
  Log:
  Method getPreconditionViolationError() has been moved to super class WebdavMethod.
  (ralf)
  
  Revision  Changes    Path
  1.17      +3 -20     jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java
  
  Index: AbstractMultistatusResponseMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- AbstractMultistatusResponseMethod.java	3 Apr 2002 11:58:21 -0000	1.16
  +++ AbstractMultistatusResponseMethod.java	8 Apr 2002 12:43:46 -0000	1.17
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java,v
1.16 2002/04/03 11:58:21 juergen Exp $
  - * $Revision: 1.16 $
  - * $Date: 2002/04/03 11:58:21 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java,v
1.17 2002/04/08 12:43:46 juergen Exp $
  + * $Revision: 1.17 $
  + * $Date: 2002/04/08 12:43:46 $
    *
    * ====================================================================
    *
  @@ -300,23 +300,6 @@
           Element responseDescription = new Element(E_RESPONSEDESCRIPTION, Namespace.getNamespace(DEFAULT_NAMESPACE));
           responseDescription.addContent(getPreconditionViolationError(pve));
           return responseDescription;
  -    }
  -    
  -    /**
  -     * Generate <error> for the given precondition violation.
  -     *
  -     * @param pve the ProconditionViolationException that describes the violated
  -     *            precondition.
  -     *
  -     * @return the <error> for the given precondition violation.
  -     */
  -    protected Element getPreconditionViolationError(PreconditionViolationException pve)
{
  -        
  -        Element error = new Element(E_ERROR, Namespace.getNamespace(DEFAULT_NAMESPACE));
  -        Element violatedPrecondition = new Element(pve.getViolatedPrecondition().getPrecondition(),
  -                                                   Namespace.getNamespace(DEFAULT_NAMESPACE));
  -        error.addContent(violatedPrecondition);
  -        return error;
       }
       
       
  
  
  

--
To unsubscribe, e-mail:   <mailto:slide-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:slide-dev-help@jakarta.apache.org>


Mime
View raw message