tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector Connector.java Request.java
Date Mon, 04 Oct 2004 11:17:08 GMT
remm        2004/10/04 04:17:08

  Modified:    catalina/src/share/org/apache/catalina/connector
                        Connector.java Request.java
  Log:
  - Cosmetic changes.
  
  Revision  Changes    Path
  1.9       +1 -2      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Connector.java
  
  Index: Connector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Connector.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Connector.java	4 Oct 2004 09:27:03 -0000	1.8
  +++ Connector.java	4 Oct 2004 11:17:08 -0000	1.9
  @@ -19,7 +19,6 @@
   
   import java.net.URLEncoder;
   import java.util.HashMap;
  -import java.util.Hashtable;
   
   import javax.management.MBeanRegistration;
   import javax.management.MBeanServer;
  
  
  
  1.14      +11 -11    jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Request.java
  
  Index: Request.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Request.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Request.java	16 Sep 2004 15:28:30 -0000	1.13
  +++ Request.java	4 Oct 2004 11:17:08 -0000	1.14
  @@ -240,7 +240,7 @@
       /**
        * Request parameters parsed flag.
        */
  -    protected boolean requestParametersParsed = false;
  +    protected boolean parametersParsed = false;
   
   
       /**
  @@ -375,7 +375,7 @@
           userPrincipal = null;
           subject = null;
           sessionParsed = false;
  -        requestParametersParsed = false;
  +        parametersParsed = false;
           cookiesParsed = false;
           locales.clear();
           localesParsed = false;
  @@ -987,8 +987,8 @@
        */
       public String getParameter(String name) {
   
  -        if (!requestParametersParsed)
  -            parseRequestParameters();
  +        if (!parametersParsed)
  +            parseParameters();
   
           return coyoteRequest.getParameters().getParameter(name);
   
  @@ -1029,8 +1029,8 @@
        */
       public Enumeration getParameterNames() {
   
  -        if (!requestParametersParsed)
  -            parseRequestParameters();
  +        if (!parametersParsed)
  +            parseParameters();
   
           return coyoteRequest.getParameters().getParameterNames();
   
  @@ -1045,8 +1045,8 @@
        */
       public String[] getParameterValues(String name) {
   
  -        if (!requestParametersParsed)
  -            parseRequestParameters();
  +        if (!parametersParsed)
  +            parseParameters();
   
           return coyoteRequest.getParameters().getParameterValues(name);
   
  @@ -2274,9 +2274,9 @@
       /**
        * Parse request parameters.
        */
  -    protected void parseRequestParameters() {
  +    protected void parseParameters() {
   
  -        requestParametersParsed = true;
  +        parametersParsed = true;
   
           Parameters parameters = coyoteRequest.getParameters();
   
  
  
  

---------------------------------------------------------------------
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