(tomcat) branch 10.1.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 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 dfdc90cd61 Fix comment typo.
dfdc90cd61 is described below

commit dfdc90cd615773c4d58940c073847f99cf4ba140
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 10.1.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 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 da8bd4eea1 Fix comment typo
da8bd4eea1 is described below

commit da8bd4eea1e9044cdcd41dde161da15b59a1cbf7
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 fd62f976a6..a8301c8277 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 10.1.x updated: Fix comment typo

2023-07-05 Thread markt
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 dda1f1748f Fix comment typo
dda1f1748f is described below

commit dda1f1748f3e9f02e3224a9532871a26bf75c505
Author: Mark Thomas 
AuthorDate: Wed Jul 5 16:50:27 2023 +0100

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

diff --git a/java/org/apache/catalina/Manager.java 
b/java/org/apache/catalina/Manager.java
index db66fab3a2..41e3211945 100644
--- a/java/org/apache/catalina/Manager.java
+++ b/java/org/apache/catalina/Manager.java
@@ -220,7 +220,7 @@ public interface Manager {
  */
 default String rotateSessionId(Session session) {
 String newSessionId = null;
-// Assume there new Id is a duplicate until we prove it isn't. The
+// Assume the new Id is a duplicate until we prove it isn't. The
 // chances of a duplicate are extremely low but the current ManagerBase
 // code protects against duplicates so this default method does too.
 boolean duplicate = true;


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



[tomcat] branch 10.1.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 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 
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 10.1.x updated: Fix comment typo

2023-01-18 Thread markt
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 0e0b90a592 Fix comment typo
0e0b90a592 is described below

commit 0e0b90a592dddc3c48db2b5e6dd99660b74272f0
Author: Mark Thomas 
AuthorDate: Wed Jan 18 12:34:02 2023 +

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

diff --git a/java/org/apache/catalina/connector/Request.java 
b/java/org/apache/catalina/connector/Request.java
index 6aa07d54e1..7a7373bb8e 100644
--- a/java/org/apache/catalina/connector/Request.java
+++ b/java/org/apache/catalina/connector/Request.java
@@ -1211,7 +1211,7 @@ public class Request implements HttpServletRequest {
 // here. Need to do this before setting usingReader.
 if (coyoteRequest.getCharacterEncoding() == null) {
 // Nothing currently set explicitly.
-// Check the content
+// Check the context
 Context context = getContext();
 if (context != null) {
 String enc = context.getRequestCharacterEncoding();


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