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