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/09 08:27:46 UTC

[sling-org-apache-sling-engine] branch master updated: 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 master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-engine.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c2f426  SLING-11569 do not enforce SlingHttpServletResponse to be an actual SlingHttpServletResponseImpl instance
2c2f426 is described below

commit 2c2f426419169f8240e06988d09edd6a41c87e95
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) {