[tomcat] branch 10.1.x updated: Fix comment
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 a03832d071 Fix comment a03832d071 is described below commit a03832d071d8dfd4e893836c4cce04c2351c9c54 Author: Mark Thomas AuthorDate: Wed Apr 5 16:09:03 2023 +0100 Fix comment --- java/org/apache/tomcat/util/net/SocketProcessorBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/net/SocketProcessorBase.java b/java/org/apache/tomcat/util/net/SocketProcessorBase.java index 138da2e7b1..ab11ce9977 100644 --- a/java/org/apache/tomcat/util/net/SocketProcessorBase.java +++ b/java/org/apache/tomcat/util/net/SocketProcessorBase.java @@ -42,7 +42,7 @@ public abstract class SocketProcessorBase implements Runnable { lock.lock(); try { // It is possible that processing may be triggered for read and -// write at the same time. The sync above makes sure that processing +// write at the same time. The lock above makes sure that processing // does not occur in parallel. The test below ensures that if the // first event to be processed results in the socket being closed, // the subsequent events are not processed. - 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
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 abcdaa6a3a Fix comment abcdaa6a3a is described below commit abcdaa6a3a6233c0e568a3125c0e702aa73e3ab8 Author: Mark Thomas AuthorDate: Mon Apr 29 09:08:35 2024 +0100 Fix comment --- java/org/apache/jasper/compiler/JDTCompiler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/jasper/compiler/JDTCompiler.java b/java/org/apache/jasper/compiler/JDTCompiler.java index e34a911166..5231a4e1eb 100644 --- a/java/org/apache/jasper/compiler/JDTCompiler.java +++ b/java/org/apache/jasper/compiler/JDTCompiler.java @@ -423,8 +423,8 @@ public class JDTCompiler extends org.apache.jasper.compiler.Compiler { settings.put(CompilerOptions.OPTION_TargetPlatform, "22"); settings.put(CompilerOptions.OPTION_Compliance, "22"); } else if (opt.equals("23")) { -// Constant not available in latest ECJ version shipped with -// Tomcat. May be supported in a snapshot build. +// Constant not available in latest ECJ version that runs on +// Java 11. // This is checked against the actual version below. settings.put(CompilerOptions.OPTION_TargetPlatform, "23"); settings.put(CompilerOptions.OPTION_Compliance, "23"); - 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
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 279fad96ba Fix comment 279fad96ba is described below commit 279fad96bac5ea4cb3492ca161ff557d96274c58 Author: Mark Thomas AuthorDate: Fri Jul 26 10:19:58 2024 +0100 Fix comment --- java/org/apache/tomcat/util/compat/JreCompat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/compat/JreCompat.java b/java/org/apache/tomcat/util/compat/JreCompat.java index ba90e334ec..efb9e024a9 100644 --- a/java/org/apache/tomcat/util/compat/JreCompat.java +++ b/java/org/apache/tomcat/util/compat/JreCompat.java @@ -241,7 +241,7 @@ public class JreCompat { * * So, the slightly longer description for this method is: * - * Java 17 implementation of a method replaced between Java 18 and 22 with the replacement method being used by + * Java 11 implementation of a method replaced between Java 18 and 22 with the replacement method being used by * Tomcat when running on Java 21 onwards. */ - 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
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 e2b6a94452 Fix comment e2b6a94452 is described below commit e2b6a94452b01aa1138d186dab98b22b075e7536 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 071fa1c954..6a86799b8f 100644 --- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java +++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java @@ -419,7 +419,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 10.1.x updated: Fix comment typo
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.
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
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
[tomcat] branch 10.1.x updated: Fix comment typo
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
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 (thanks to Chuck)
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 63f72b89ff Fix comment (thanks to Chuck) 63f72b89ff is described below commit 63f72b89fffe8ad60b1d3c8edf6221f78a11c539 Author: Mark Thomas AuthorDate: Tue Apr 16 14:20:04 2024 +0100 Fix comment (thanks to Chuck) --- java/org/apache/catalina/authenticator/BasicAuthenticator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/org/apache/catalina/authenticator/BasicAuthenticator.java b/java/org/apache/catalina/authenticator/BasicAuthenticator.java index 7060cca97c..1bfd552cf1 100644 --- a/java/org/apache/catalina/authenticator/BasicAuthenticator.java +++ b/java/org/apache/catalina/authenticator/BasicAuthenticator.java @@ -226,8 +226,7 @@ public class BasicAuthenticator extends AuthenticatorBase { } /* - * The authorization method string is case-insensitive and must have at exactly one space character as a - * delimiter. + * The authorization method string is case-insensitive and must have exactly one space character as a delimiter. */ private void parseMethod() throws IllegalArgumentException { if (authorization.startsWithIgnoreCase(METHOD, 0)) { - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org