This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 513261ea81 Review "Document and clean up the descriptor load result"
513261ea81 is described below
commit 513261ea812681569cae93055f0fc2ffc9bca0df
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Nov 3 19:31:28 2026 +0000
Review "Document and clean up the descriptor load result"
Minor Javadoc update
---
java/org/apache/tomcat/util/modeler/Registry.java | 3 ++-
java/org/apache/tomcat/util/modeler/modules/ModelerSource.java | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/java/org/apache/tomcat/util/modeler/Registry.java
b/java/org/apache/tomcat/util/modeler/Registry.java
index 13e6c054e9..bc3c3b9d30 100644
--- a/java/org/apache/tomcat/util/modeler/Registry.java
+++ b/java/org/apache/tomcat/util/modeler/Registry.java
@@ -603,7 +603,8 @@ public class Registry implements RegistryMBean,
MBeanRegistration {
*
* @return List of object names. The sources provided with Tomcat
* register the descriptors with this registry instead of
- * returning object names, so the returned list is empty.
+ * returning object names, so the returned list is empty and
+ * unmodifiable.
*
* @throws Exception Error loading descriptors
*/
diff --git a/java/org/apache/tomcat/util/modeler/modules/ModelerSource.java
b/java/org/apache/tomcat/util/modeler/modules/ModelerSource.java
index 6b3ee0caa2..93c99fc563 100644
--- a/java/org/apache/tomcat/util/modeler/modules/ModelerSource.java
+++ b/java/org/apache/tomcat/util/modeler/modules/ModelerSource.java
@@ -51,7 +51,8 @@ public abstract class ModelerSource {
*
* @return a list of object names. The sources provided with Tomcat
* register the descriptors with the given registry instead of
- * returning object names, so the returned list is empty.
+ * returning object names, so the returned list is empty and
+ * unmodifiable.
*
* @throws Exception Error loading descriptors
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]