This is an automated email from the ASF dual-hosted git repository. markt 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 a0dde7eb4d Update comments. Hashtable usage was replaced with Map a0dde7eb4d is described below commit a0dde7eb4d825376188259e1a33fb4de77ab2b30 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Jan 16 17:21:51 2023 +0000 Update comments. Hashtable usage was replaced with Map --- java/org/apache/catalina/servlets/CGIServlet.java | 10 +++++----- java/org/apache/catalina/servlets/WebdavServlet.java | 2 +- java/org/apache/jasper/compiler/Generator.java | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java/org/apache/catalina/servlets/CGIServlet.java b/java/org/apache/catalina/servlets/CGIServlet.java index c2309e8e58..d0755c6fdd 100644 --- a/java/org/apache/catalina/servlets/CGIServlet.java +++ b/java/org/apache/catalina/servlets/CGIServlet.java @@ -1444,7 +1444,7 @@ public final class CGIServlet extends HttpServlet { * respectively. * * @param command string full path to command to be executed - * @param env Hashtable with the desired script environment + * @param env Map with the desired script environment * @param wd File with the script's desired working directory * @param params ArrayList with the script's query command line * parameters as strings @@ -1508,11 +1508,11 @@ public final class CGIServlet extends HttpServlet { /** - * Converts a Hashtable to a String array by converting each - * key/value pair in the Hashtable to a String in the form - * "key=value" (hashkey + "=" + hash.get(hashkey).toString()) + * Converts a Map to a String array by converting each + * key/value pair in the Map to a String in the form + * "key=value" (key + "=" + map.get(key).toString()) * - * @param map Hashtable to convert + * @param map Map to convert * * @return converted string array * diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java b/java/org/apache/catalina/servlets/WebdavServlet.java index f0c88f7d8d..36bf46a269 100644 --- a/java/org/apache/catalina/servlets/WebdavServlet.java +++ b/java/org/apache/catalina/servlets/WebdavServlet.java @@ -1576,7 +1576,7 @@ public class WebdavServlet extends DefaultServlet { /** * Copy a collection. * - * @param errorList Hashtable containing the list of errors which occurred + * @param errorList Map containing the list of errors which occurred * during the copy operation * @param source Path of the resource to be copied * @param dest Destination path diff --git a/java/org/apache/jasper/compiler/Generator.java b/java/org/apache/jasper/compiler/Generator.java index 8f77afe2b1..e61afce60e 100644 --- a/java/org/apache/jasper/compiler/Generator.java +++ b/java/org/apache/jasper/compiler/Generator.java @@ -906,8 +906,8 @@ class Generator { private class GenerateVisitor extends Node.Visitor { /* - * Hashtable containing introspection information on tag handlers: - * <key>: tag prefix <value>: hashtable containing introspection on tag + * Map containing introspection information on tag handlers: + * <key>: tag prefix <value>: Map containing introspection on tag * handlers: <key>: tag short name <value>: introspection info of tag * handler for <prefix:shortName> tag */ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org