incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r590015 - in /incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers: SlingHttpServletRequestWrapper.java SlingHttpServletResponseWrapper.java
Date Tue, 30 Oct 2007 10:07:39 GMT
Author: bdelacretaz
Date: Tue Oct 30 03:07:37 2007
New Revision: 590015

URL: http://svn.apache.org/viewvc?rev=590015&view=rev
Log:
Rename "delegatee" parameter to the more common "wrappedRequest/Response"

Modified:
    incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java
    incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletResponseWrapper.java

Modified: incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java?rev=590015&r1=590014&r2=590015&view=diff
==============================================================================
--- incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java
(original)
+++ incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java
Tue Oct 30 03:07:37 2007
@@ -44,8 +44,9 @@
 public class SlingHttpServletRequestWrapper extends HttpServletRequestWrapper
         implements SlingHttpServletRequest {
 
-    public SlingHttpServletRequestWrapper(SlingHttpServletRequest delegatee) {
-        super(delegatee);
+    /** Create a wrapper for the supplied wrappedRequest */
+    public SlingHttpServletRequestWrapper(SlingHttpServletRequest wrappedRequest) {
+        super(wrappedRequest);
     }
 
     /**

Modified: incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletResponseWrapper.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletResponseWrapper.java?rev=590015&r1=590014&r2=590015&view=diff
==============================================================================
--- incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletResponseWrapper.java
(original)
+++ incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletResponseWrapper.java
Tue Oct 30 03:07:37 2007
@@ -26,12 +26,17 @@
  * The <code>SlingHttpServletResponseWrapper</code> class is a default wrapper
  * class around a {@link SlingHttpServletResponse} which may be extended to
  * amend the functionality of the original response object.
+ * 
+ * There's nothing interesting to wrap currently, as the SlingHttpServletResponse
+ * interface is empty.
+ * So this exists only for symmetry with {@link SlingHttpServletRequestWrapper}
  */
 public class SlingHttpServletResponseWrapper extends HttpServletResponseWrapper
         implements SlingHttpServletResponse {
 
-    public SlingHttpServletResponseWrapper(SlingHttpServletResponse delegatee) {
-        super(delegatee);
+    /** Create a wrapper for the supplied wrappedRequest */
+    public SlingHttpServletResponseWrapper(SlingHttpServletResponse wrappedResponse) {
+        super(wrappedResponse);
     }
 
     /**



Mime
View raw message