Correcting JavaDoc for HTTP methods.
authortimw <timw@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 6 Oct 2010 07:24:46 +0000 (07:24 +0000)
committertimw <timw@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 6 Oct 2010 07:24:46 +0000 (07:24 +0000)
No functional change

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1004914 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/servlets/DefaultServlet.java
java/org/apache/catalina/servlets/WebdavServlet.java

index 2ce3a3e..483fcf3 100644 (file)
@@ -490,7 +490,7 @@ public class DefaultServlet
 
 
     /**
-     * Process a POST request for the specified resource.
+     * Process a PUT request for the specified resource.
      *
      * @param req The servlet request we are processing
      * @param resp The servlet response we are creating
@@ -630,7 +630,7 @@ public class DefaultServlet
 
 
     /**
-     * Process a POST request for the specified resource.
+     * Process a DELETE request for the specified resource.
      *
      * @param req The servlet request we are processing
      * @param resp The servlet response we are creating
index fe2f591..ec1d505 100644 (file)
@@ -642,7 +642,7 @@ public class WebdavServlet
 
             // Stack of the objects one level below
             Stack<String> stackBelow = new Stack<String>();
-
             while ((!stack.isEmpty()) && (depth >= 0)) {
 
                 String currentPath = stack.pop();
@@ -834,7 +834,7 @@ public class WebdavServlet
 
 
     /**
-     * Process a POST request for the specified resource.
+     * Process a PUT request for the specified resource.
      *
      * @param req The servlet request we are processing
      * @param resp The servlet response we are creating