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:03:36 UTC

[tomcat] branch 9.0.x updated: Clarify expected return value

This is an automated email from the ASF dual-hosted git repository.

markt 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 956be6c  Clarify expected return value
956be6c is described below

commit 956be6cf245c3dbc77818465b4e8186d41d61edf
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jan 16 10:03:25 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