This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 30572cfc40 Review "Document and clean up the descriptor load result"
30572cfc40 is described below
commit 30572cfc406063c806a5c60dbca78ea88a5c65bd
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 b202240104..108cf6e5e7 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]