You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2022/09/08 11:42:41 UTC

[sling-org-apache-sling-engine] branch feature/SLING-11569-requestdispatcher-include-responsebuilder created (now 8d5c4f8)

This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a change to branch feature/SLING-11569-requestdispatcher-include-responsebuilder
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-engine.git


      at 8d5c4f8  SLING-11569 do not enforce SlingHttpServletResponse to be an actual SlingHttpServletResponseImpl instance

This branch includes the following new commits:

     new 8d5c4f8  SLING-11569 do not enforce SlingHttpServletResponse to be an actual SlingHttpServletResponseImpl instance

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-org-apache-sling-engine] 01/01: SLING-11569 do not enforce SlingHttpServletResponse to be an actual SlingHttpServletResponseImpl instance

Posted by ss...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a commit to branch feature/SLING-11569-requestdispatcher-include-responsebuilder
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-engine.git

commit 8d5c4f8f0596dcee387f5e749227aa4dee19c7d3
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Thu Sep 8 13:34:53 2022 +0200

    SLING-11569 do not enforce SlingHttpServletResponse to be an actual SlingHttpServletResponseImpl instance
---
 src/main/java/org/apache/sling/engine/impl/request/RequestData.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/main/java/org/apache/sling/engine/impl/request/RequestData.java b/src/main/java/org/apache/sling/engine/impl/request/RequestData.java
index 1a6690c..fe1e3cd 100644
--- a/src/main/java/org/apache/sling/engine/impl/request/RequestData.java
+++ b/src/main/java/org/apache/sling/engine/impl/request/RequestData.java
@@ -503,9 +503,6 @@ public class RequestData {
         // unwrap to SlingHttpServletResponse
         SlingHttpServletResponse cResponse = unwrap(response);
 
-        // check type of response, don't care actually for the response itself
-        RequestData.unwrap(cResponse);
-
         // if the servlet response is actually the SlingHttpServletResponse, we
         // are done
         if (cResponse == response) {