(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

2023-07-04 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 77aa0afe45 Fix comment
77aa0afe45 is described below

commit 77aa0afe4578b5375227642b16fab18c031645d0
Author: Mark Thomas 
AuthorDate: Tue Jul 4 21:57:49 2023 +0100

Fix comment
---
 java/org/apache/tomcat/util/net/AbstractEndpoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java 
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index bc78d0c90e..61961a39c2 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -427,7 +427,7 @@ public abstract class AbstractEndpoint {
 MessageDigest sha512Digest = MessageDigest.getInstance("SHA-256");
 sha512Digest.update(certBytes);
 sb.append(HexUtils.toHexString(sha512Digest.digest()));
-// SHA-256 fingerprint
+// SHA-1 fingerprint
 sb.append("\nSHA-1 fingerprint: ");
 MessageDigest sha1Digest = MessageDigest.getInstance("SHA-1");
 sha1Digest.update(certBytes);


-
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 TODO

2021-11-05 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 3ec8a47  Fix comment TODO
3ec8a47 is described below

commit 3ec8a479a0956fc9f528e13699185cdc50d10d66
Author: Mark Thomas 
AuthorDate: Fri Nov 5 10:31:44 2021 +

Fix comment TODO

While this needed fixing, this commit has primarily been made to trigger
a CI build to
---
 java/javax/servlet/ServletContext.java | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/java/javax/servlet/ServletContext.java 
b/java/javax/servlet/ServletContext.java
index a86a428..811ea7d 100644
--- a/java/javax/servlet/ServletContext.java
+++ b/java/javax/servlet/ServletContext.java
@@ -116,7 +116,11 @@ public interface ServletContext {
 public int getMinorVersion();
 
 /**
- * @return TODO
+ * Obtain the major version of the servlet specification for which this web
+ * application is implemented.
+ *
+ * @return The major version declared in web.xml
+ *
  * @throws UnsupportedOperationExceptionIf called from a
  *{@link 
ServletContextListener#contextInitialized(ServletContextEvent)}
  *method of a {@link ServletContextListener} that was not defined in a
@@ -125,7 +129,7 @@ public interface ServletContext {
  *{@link ServletContextListener} defined in a TLD would not be able to
  *use this method.
  *
- * @since Servlet 3.0 TODO SERVLET3 - Add comments
+ * @since Servlet 3.0
  */
 public int getEffectiveMajorVersion();
 

-
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



[tomcat] branch 8.5.x updated: Fix comment

2020-05-05 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 8cd5cfb  Fix comment
8cd5cfb is described below

commit 8cd5cfb4fa0d885f964809a63f1c6c2aa7a229af
Author: Mark Thomas 
AuthorDate: Tue May 5 09:32:24 2020 +0100

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

diff --git a/test/org/apache/coyote/http2/TestStreamProcessor.java 
b/test/org/apache/coyote/http2/TestStreamProcessor.java
index cfa0863..d660638 100644
--- a/test/org/apache/coyote/http2/TestStreamProcessor.java
+++ b/test/org/apache/coyote/http2/TestStreamProcessor.java
@@ -240,7 +240,7 @@ public class TestStreamProcessor extends Http2TestBase {
 Tomcat.addServlet(ctxt, "compression", new CompressionServlet());
 ctxt.addServletMappingDecoded("/compression", "compression");
 
-// Enable compression for the LargeServlet
+// Enable compression
 Connector connector = tomcat.getConnector();
 
 tomcat.start();


-
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

2020-01-21 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 5e876cc  Fix comment
5e876cc is described below

commit 5e876cc9da7f3faddf329a989e3c90686f9ee6e7
Author: Mark Thomas 
AuthorDate: Tue Jan 21 11:47:26 2020 +

Fix comment
---
 java/org/apache/coyote/http11/upgrade/UpgradeProcessorExternal.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/java/org/apache/coyote/http11/upgrade/UpgradeProcessorExternal.java 
b/java/org/apache/coyote/http11/upgrade/UpgradeProcessorExternal.java
index 75d074e..b73f4e7 100644
--- a/java/org/apache/coyote/http11/upgrade/UpgradeProcessorExternal.java
+++ b/java/org/apache/coyote/http11/upgrade/UpgradeProcessorExternal.java
@@ -134,6 +134,6 @@ public class UpgradeProcessorExternal extends 
UpgradeProcessorBase {
 
 @Override
 public void pause() {
-// NOOP for AJP
+// NOOP
 }
 }


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