yoavs 2004/05/26 09:03:06
Modified: catalina/src/share/org/apache/catalina/servlets
DefaultServlet.java
Log:
Minor JavaDoc fixes (Bugzilla 28335)
Revision Changes Path
1.23 +6 -8
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java
Index: DefaultServlet.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- DefaultServlet.java 17 May 2004 21:39:33 -0000 1.22
+++ DefaultServlet.java 26 May 2004 16:03:06 -0000 1.23
@@ -496,8 +496,8 @@
/**
* Process a POST request for the specified resource.
*
- * @param request The servlet request we are processing
- * @param response The servlet response we are creating
+ * @param req The servlet request we are processing
+ * @param resp The servlet response we are creating
*
* @exception IOException if an input/output error occurs
* @exception ServletException if a servlet-specified error occurs
@@ -725,8 +725,6 @@
* Get the ETag associated with a file.
*
* @param resourceInfo File object
- * @param strong True if we want a strong ETag, in which case a checksum
- * of the file has to be calculated
*/
protected String getETag(ResourceInfo resourceInfo) {
if (resourceInfo.strongETag != null) {
@@ -1845,7 +1843,7 @@
* output stream, and ensure that both streams are closed before returning
* (even in the face of an exception).
*
- * @param istream The input stream to read from
+ * @param resourceInfo The resource information
* @param ostream The output stream to write to
*
* @exception IOException if an input/output error occurs
@@ -1891,7 +1889,7 @@
* output stream, and ensure that both streams are closed before returning
* (even in the face of an exception).
*
- * @param istream The input stream to read from
+ * @param resourceInfo The resource info
* @param writer The writer to write to
*
* @exception IOException if an input/output error occurs
@@ -2307,7 +2305,7 @@
/**
* Constructor.
*
- * @param pathname Path name of the file
+ * @param path Path name of the file
*/
public ResourceInfo(String path, DirContext resources) {
set(path, resources);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]