(tomcat) branch 8.5.x updated: Fix comment typo.

2024-02-22 Thread markt
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 59b09971b5 Fix comment typo.
59b09971b5 is described below

commit 59b09971b5c6c9109d9784251089e03577e5b7d2
Author: Mark Thomas 
AuthorDate: Thu Feb 22 12:46:04 2024 +

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 6bb2f3cb58..f82b368851 100644
--- a/java/org/apache/catalina/webresources/CachedResource.java
+++ b/java/org/apache/catalina/webresources/CachedResource.java
@@ -326,7 +326,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
+ * 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 called once,
  * this can cause problems when using other libraries that also want 
to use a custom URL scheme.
  *


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



[tomcat] branch 8.5.x updated: Fix comment typo

2023-07-24 Thread markt
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 241a0765c9 Fix comment typo
241a0765c9 is described below

commit 241a0765c9d1735051c6c6124e06e61439e921bc
Author: Mark Thomas 
AuthorDate: Mon Jul 24 14:16:58 2023 +0100

Fix comment typo
---
 test/org/apache/tomcat/websocket/TestPerMessageDeflate.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/tomcat/websocket/TestPerMessageDeflate.java 
b/test/org/apache/tomcat/websocket/TestPerMessageDeflate.java
index d1676b6c96..2f01440186 100644
--- a/test/org/apache/tomcat/websocket/TestPerMessageDeflate.java
+++ b/test/org/apache/tomcat/websocket/TestPerMessageDeflate.java
@@ -87,7 +87,7 @@ public class TestPerMessageDeflate {
 
 MessagePart compressedPart = compressedParts.get(0);
 
-// Set up the decompression and process the received messafe
+// Set up the decompression and process the received message
 PerMessageDeflate perMessageDeflateRx = 
PerMessageDeflate.negotiate(preferences, true);
 perMessageDeflateRx.setNext(new 
TesterTransformation(compressedPart.getPayload()));
 


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



[tomcat] branch 8.5.x updated: Fix comment typo

2023-03-27 Thread markt
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 6d3415e090 Fix comment typo
6d3415e090 is described below

commit 6d3415e090a57e0cdd2e34d2457ca552429d29db
Author: Mark Thomas 
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



[tomcat] branch 8.5.x updated: Fix comment typo

2022-08-16 Thread markt
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 c40729b6af Fix comment typo
c40729b6af is described below

commit c40729b6af7994bd8389d81047c9575fae2228fc
Author: Mark Thomas 
AuthorDate: Tue Aug 16 18:04:14 2022 +0100

Fix comment typo
---
 java/org/apache/coyote/http2/Stream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index f426d31672..2a86a1cbae 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -150,7 +150,7 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
 throw new IllegalArgumentException();
 }
 // This processing expects bytes. Server push will have used a String
-// to trigger a conversion if required.
+// so trigger a conversion if required.
 hostValueMB.toBytes();
 ByteChunk valueBC = hostValueMB.getByteChunk();
 byte[] valueB = valueBC.getBytes();


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



[tomcat] branch 8.5.x updated: Fix comment typo

2021-02-01 Thread markt
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 fcdbc69  Fix comment typo
fcdbc69 is described below

commit fcdbc690558db734952a5d93fa422dd02da6cfb6
Author: Mark Thomas 
AuthorDate: Mon Feb 1 10:19:32 2021 +

Fix comment typo
---
 java/org/apache/coyote/http2/Http2UpgradeHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Http2UpgradeHandler.java 
b/java/org/apache/coyote/http2/Http2UpgradeHandler.java
index d80e26a..5db617f 100644
--- a/java/org/apache/coyote/http2/Http2UpgradeHandler.java
+++ b/java/org/apache/coyote/http2/Http2UpgradeHandler.java
@@ -1226,7 +1226,7 @@ public class Http2UpgradeHandler extends AbstractStream 
implements InternalHttpU
 if (stream.isClosedFinal()) {
 // This stream went from IDLE to CLOSED and is likely to have
 // been created by the client as part of the priority tree.
-// Candidate for steo 3.
+// Candidate for step 3.
 candidatesStepThree.add(stream.getIdentifier());
 } else if (stream.getChildStreams().size() == 0) {
 // Prune it


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