This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 9da630648a Review "Document and clean up the descriptor load result"
9da630648a is described below
commit 9da630648a4712e33e057accb1c68674ce9dc339
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 df6a3b3f73..6a8bea9f34 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]