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 2020/01/16 10:04:25 UTC
[tomcat] branch 8.5.x updated: Clarify expected return value
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 2e98027 Clarify expected return value
2e98027 is described below
commit 2e9802724287d8856f2d3fc626308f50bf127175
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jan 16 10:04:12 2020 +0000
Clarify expected return value
---
java/org/apache/catalina/WebResourceRoot.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/WebResourceRoot.java b/java/org/apache/catalina/WebResourceRoot.java
index 5acf0d1..e5ba087 100644
--- a/java/org/apache/catalina/WebResourceRoot.java
+++ b/java/org/apache/catalina/WebResourceRoot.java
@@ -140,7 +140,8 @@ public interface WebResourceRoot extends Lifecycle {
* application. It must start with '/'.
*
* @return The objects that represents the class loader resources at the
- * given path
+ * given path. There will always be at least one element although
+ * that element may represent a resource that is not present.
*/
WebResource[] getClassLoaderResources(String path);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org