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:42 UTC

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

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