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

markt 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 af4a4dbe5a Fix comment typo
af4a4dbe5a is described below

commit af4a4dbe5af5c4e5415faf8e3ae5d3432af740fa
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Mar 27 16:52:58 2023 +0100

    Fix comment typo
---
 java/org/apache/catalina/webresources/CachedResource.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/webresources/CachedResource.java 
b/java/org/apache/catalina/webresources/CachedResource.java
index d512abca93..b2b4d62693 100644
--- a/java/org/apache/catalina/webresources/CachedResource.java
+++ b/java/org/apache/catalina/webresources/CachedResource.java
@@ -328,7 +328,7 @@ public class CachedResource implements WebResource {
          * One option to resolve this issue is to use a custom URL scheme for 
resource URLs. This would allow us, via
          * registration of a URLStreamHandlerFactory, to control how the 
resources are accessed and ensure that all
          * access go via the cache We took this approach for war: URLs so we 
can use jar:war:file: URLs to reference
-         * resources in unpacked WAR files. However, because 
URL.setURLStreamHandlerFactory() may only be caused once,
+         * resources in unpacked WAR files. However, because 
URL.setURLStreamHandlerFactory() may only be called once,
          * this can cause problems when using other libraries that also want 
to use a custom URL scheme.
          *
          * The approach below allows us to insert a custom URLStreamHandler 
without registering a custom protocol. The


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to