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 2023/01/16 17:22:05 UTC
[tomcat] branch main updated: Update comments. Hashtable usage was replaced with Map
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new b18ba2f3c1 Update comments. Hashtable usage was replaced with Map
b18ba2f3c1 is described below
commit b18ba2f3c1e00638a1dded1cde03072f9609cca1
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 7b25cf31ee..90d8e355e0 100644
--- a/java/org/apache/jasper/compiler/Generator.java
+++ b/java/org/apache/jasper/compiler/Generator.java
@@ -895,8 +895,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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org