You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/06/04 14:33:54 UTC

(tomcat) branch 10.1.x updated: Rename for consistency with other methods

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

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


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

commit 432a8f328885440d5c567a71f627f146c76b613c
Author: Mark Thomas <ma...@apache.org>
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 a77203a747..1be435a8dc 100644
--- a/java/org/apache/catalina/core/StandardContext.java
+++ b/java/org/apache/catalina/core/StandardContext.java
@@ -2884,7 +2884,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 e0524e0c3f..8ffccc0285 100644
--- a/java/org/apache/tomcat/util/descriptor/web/ErrorPage.java
+++ b/java/org/apache/tomcat/util/descriptor/web/ErrorPage.java
@@ -141,7 +141,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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org