This is an automated email from the ASF dual-hosted git repository.
joerghoh 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 dd31e70 SLING-13322 fix typos (#83)
dd31e70 is described below
commit dd31e7004948629618546dd72f5ff6449561583e
Author: Jörg Hoh <[email protected]>
AuthorDate: Fri Sep 4 11:16:40 2026 +0200
SLING-13322 fix typos (#83)
Co-authored-by: Joerg Hoh <[email protected]>
---
.../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;