tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet JspServlet.java
Date Wed, 29 Jan 2003 18:20:09 GMT
jfarcand    2003/01/29 10:20:08

  Modified:    jasper2/src/share/org/apache/jasper/servlet JspServlet.java
  Log:
  Add a small comment to remind that the case occurs only when DummyRequest is used. Thsi
method should never return a null enumration.
  
  Revision  Changes    Path
  1.21      +5 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServlet.java
  
  Index: JspServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServlet.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- JspServlet.java	29 Jan 2003 17:04:21 -0000	1.20
  +++ JspServlet.java	29 Jan 2003 18:20:08 -0000	1.21
  @@ -231,6 +231,8 @@
   		log.debug("\t  Request Params: ");
   		Enumeration e = request.getParameterNames();
   
  +                // Occurs only when DummyRequest is used (this method never 
  +                // when used in the normal case return null
                   if (e != null) {
                       while (e.hasMoreElements()) {
                           String name = (String) e.nextElement();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message