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

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

commit ebae25392da04cd0c7d26cd3e537f5780c8d4db5
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 fe4e1c1939..4a95ed9160 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