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 2022/09/15 15:53:38 UTC

[tomcat] branch 10.0.x updated: Use Map interface where practical

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

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


The following commit(s) were added to refs/heads/10.0.x by this push:
     new e0e6cece8e Use Map interface where practical
e0e6cece8e is described below

commit e0e6cece8ee22eff292b6d09075c4c43237cd5ac
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Sep 15 16:53:18 2022 +0100

    Use Map interface where practical
---
 java/org/apache/jasper/compiler/Validator.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/jasper/compiler/Validator.java b/java/org/apache/jasper/compiler/Validator.java
index ae13967d6f..64ac8c3a9c 100644
--- a/java/org/apache/jasper/compiler/Validator.java
+++ b/java/org/apache/jasper/compiler/Validator.java
@@ -1093,7 +1093,7 @@ class Validator {
          * considered a dynamic attribute.
          */
         private void checkXmlAttributes(Node.CustomTag n,
-                Node.JspAttribute[] jspAttrs, Hashtable<String, Object> tagDataAttrs)
+                Node.JspAttribute[] jspAttrs, Map<String, Object> tagDataAttrs)
                 throws JasperException {
 
             TagInfo tagInfo = n.getTagInfo();
@@ -1297,7 +1297,7 @@ class Validator {
          */
         private void checkNamedAttributes(Node.CustomTag n,
                 Node.JspAttribute[] jspAttrs, int start,
-                Hashtable<String, Object> tagDataAttrs)
+                Map<String, Object> tagDataAttrs)
                 throws JasperException {
 
             TagInfo tagInfo = n.getTagInfo();


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org