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

markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new c811261ae5 Rename for consistency with other methods
c811261ae5 is described below

commit c811261ae50bf7c9e83eb2eebb35f84fe791d6d2
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Jun 4 15:31:05 2026 +0100

    Rename for consistency with other methods
---
 java/org/apache/catalina/core/StandardContext.java        | 2 +-
 java/org/apache/tomcat/util/descriptor/web/ErrorPage.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/catalina/core/StandardContext.java 
b/java/org/apache/catalina/core/StandardContext.java
index 89b9f6fa04..e60ba186c0 100644
--- a/java/org/apache/catalina/core/StandardContext.java
+++ b/java/org/apache/catalina/core/StandardContext.java
@@ -2862,7 +2862,7 @@ public class StandardContext extends ContainerBase 
implements Context, Notificat
                 if (log.isDebugEnabled()) {
                     
log.debug(sm.getString("standardContext.errorPage.warning", location));
                 }
-                errorPage.setDecodedLocation("/" + location);
+                errorPage.setLocationDecoded("/" + location);
             } else {
                 throw new 
IllegalArgumentException(sm.getString("standardContext.errorPage.error", 
location));
             }
diff --git a/java/org/apache/tomcat/util/descriptor/web/ErrorPage.java 
b/java/org/apache/tomcat/util/descriptor/web/ErrorPage.java
index d118698a57..48bd659169 100644
--- a/java/org/apache/tomcat/util/descriptor/web/ErrorPage.java
+++ b/java/org/apache/tomcat/util/descriptor/web/ErrorPage.java
@@ -143,7 +143,7 @@ public class ErrorPage extends XmlEncodingBase implements 
Serializable {
      *
      * @param location The new location
      */
-    public void setDecodedLocation(String location) {
+    public void setLocationDecoded(String location) {
         this.location = location;
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to