geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r805140 - /geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletRequestWrapper.java
Date Mon, 17 Aug 2009 20:59:10 GMT
Author: djencks
Date: Mon Aug 17 20:59:10 2009
New Revision: 805140

URL: http://svn.apache.org/viewvc?rev=805140&view=rev
Log:
Make sure all methods delegate to the  wrapped Request, not a possible request parameter.
 Thanks to Maxim Moldenhaouer for noticing the typos

Modified:
    geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletRequestWrapper.java

Modified: geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletRequestWrapper.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletRequestWrapper.java?rev=805140&r1=805139&r2=805140&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletRequestWrapper.java
(original)
+++ geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletRequestWrapper.java
Mon Aug 17 20:59:10 2009
@@ -324,47 +324,47 @@
      * @since 3.0
      */
     public ServletContext getServletContext() {
-        return request.getServletContext();
+        return this.request.getServletContext();
     }
 
     public void addAsyncListener(AsyncListener listener) {
-        request.addAsyncListener(listener);
+        this.request.addAsyncListener(listener);
     }
 
     public void addAsyncListener(AsyncListener listener, ServletRequest request, ServletResponse
response) {
-        request.addAsyncListener(listener, request, response);
+        this.request.addAsyncListener(listener, request, response);
     }
 
     public AsyncContext getAsyncContext() {
-        return request.getAsyncContext();
+        return this.request.getAsyncContext();
     }
 
     public long getAsyncTimeout() {
-        return request.getAsyncTimeout();
+        return this.request.getAsyncTimeout();
     }
 
     public boolean isAsyncStarted() {
-        return request.isAsyncStarted();
+        return this.request.isAsyncStarted();
     }
 
     public boolean isAsyncSupported() {
-        return request.isAsyncSupported();
+        return this.request.isAsyncSupported();
     }
 
     public void setAsyncTimeout(long timeout) {
-        request.setAsyncTimeout(timeout);
+        this.request.setAsyncTimeout(timeout);
     }
 
     public AsyncContext startAsync() {
-        return request.startAsync();
+        return this.request.startAsync();
     }
 
     public AsyncContext startAsync(ServletRequest request, ServletResponse response) {
-        return request.startAsync(request, response);
+        return this.request.startAsync(request, response);
     }
 
     public DispatcherType getDispatcherType() {
-        return request.getDispatcherType();
+        return this.request.getDispatcherType();
     }
 
 }



Mime
View raw message