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

joerghoh pushed a commit to branch SLING-13322-1
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-engine.git

commit a148af6f24b5c6d2e8e0612d3195702eca2f3771
Author: Joerg Hoh <[email protected]>
AuthorDate: Wed Sep 2 19:25:58 2026 +0200

    SLING-13322 fix typos
---
 .../apache/sling/engine/impl/SlingJakartaHttpServletResponseImpl.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/engine/impl/SlingJakartaHttpServletResponseImpl.java
 
b/src/main/java/org/apache/sling/engine/impl/SlingJakartaHttpServletResponseImpl.java
index 406d39e..127609f 100644
--- 
a/src/main/java/org/apache/sling/engine/impl/SlingJakartaHttpServletResponseImpl.java
+++ 
b/src/main/java/org/apache/sling/engine/impl/SlingJakartaHttpServletResponseImpl.java
@@ -514,7 +514,7 @@ public class SlingJakartaHttpServletResponseImpl extends 
HttpServletResponseWrap
     private void logHeaderModificationCallOnIncludeForMethod(String method) {
         if (isInclude()) {
             String msg = String.format(
-                    "Calling '%s' within an include is not compliant to the 
Servlet spec (see SLING-13222)", method);
+                    "Calling '%s' within an include is not compliant to the 
Servlet spec (see SLING-13322)", method);
             requestData.getRequestProgressTracker().log("WARN:" + msg);
             if (!LOG.isDebugEnabled()) {
                 LOG.warn("{}; enable DEBUG logging to get the full 
stacktrace", msg);
@@ -542,7 +542,7 @@ public class SlingJakartaHttpServletResponseImpl extends 
HttpServletResponseWrap
     @Override
     public void sendError(int status, String message) throws IOException {
         if (!this.isProtectHeadersOnInclude()) {
-            logHeaderModificationCallOnIncludeForMethod("setError()");
+            logHeaderModificationCallOnIncludeForMethod("sendError()");
             checkCommitted();
 
             this.committedReason = CommitReason.SEND_ERROR;

Reply via email to