cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r576900 - /cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/util/BlockCallHttpServletRequest.java
Date Tue, 18 Sep 2007 13:24:58 GMT
Author: vgritsenko
Date: Tue Sep 18 06:24:57 2007
New Revision: 576900

URL: http://svn.apache.org/viewvc?rev=576900&view=rev
Log:
uppercase constant

Modified:
    cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/util/BlockCallHttpServletRequest.java

Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/util/BlockCallHttpServletRequest.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/util/BlockCallHttpServletRequest.java?rev=576900&r1=576899&r2=576900&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/util/BlockCallHttpServletRequest.java
(original)
+++ cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/util/BlockCallHttpServletRequest.java
Tue Sep 18 06:24:57 2007
@@ -48,6 +48,12 @@
  */
 public class BlockCallHttpServletRequest implements HttpServletRequest{
     
+    /**
+     * Protocol of block call requests.
+     */
+    private static final String PROTOCOL = "HTTP/1.1";
+
+
     private URI uri;
     private Hashtable attributes = new Hashtable();
     private RequestParameters parameters;
@@ -69,11 +75,6 @@
     
     
     /**
-     * Protocol of block call requests.
-     */
-    private final String protocol = "HTTP/1.1";  
-
-    /**
      * @param uri points to the called servlet
      * @param callingRequest reference to the request object that makes a servlet call
      */
@@ -295,7 +296,7 @@
      * @see javax.servlet.ServletRequest#getProtocol()
      */
     public String getProtocol() {
-        return this.protocol;
+        return this.PROTOCOL;
     }
 
     /* (non-Javadoc)



Mime
View raw message