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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 650a972  Update comment
650a972 is described below

commit 650a972f671f5edb34263237393438eca89204f4
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jul 28 12:47:50 2021 +0100

    Update comment
---
 java/org/apache/tomcat/websocket/PerMessageDeflate.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/tomcat/websocket/PerMessageDeflate.java 
b/java/org/apache/tomcat/websocket/PerMessageDeflate.java
index 95ff848..a96da90 100644
--- a/java/org/apache/tomcat/websocket/PerMessageDeflate.java
+++ b/java/org/apache/tomcat/websocket/PerMessageDeflate.java
@@ -98,7 +98,7 @@ public class PerMessageDeflate implements Transformation {
                                     SERVER_MAX_WINDOW_BITS,
                                     Integer.valueOf(serverMaxWindowBits)));
                         }
-                        // Java SE API (as of Java 8) does not expose the API 
to
+                        // Java SE API (as of Java 11) does not expose the API 
to
                         // control the Window size. It is effectively 
hard-coded
                         // to 15
                         if (isServer && serverMaxWindowBits != 15) {
@@ -119,7 +119,7 @@ public class PerMessageDeflate implements Transformation {
                     if (clientMaxWindowBits == -1) {
                         if (param.getValue() == null) {
                             // Hint to server that the client supports this
-                            // option. Java SE API (as of Java 8) does not
+                            // option. Java SE API (as of Java 11) does not
                             // expose the API to control the Window size. It is
                             // effectively hard-coded to 15
                             clientMaxWindowBits = 15;
@@ -132,7 +132,7 @@ public class PerMessageDeflate implements Transformation {
                                         Integer.valueOf(clientMaxWindowBits)));
                             }
                         }
-                        // Java SE API (as of Java 8) does not expose the API 
to
+                        // Java SE API (as of Java 11) does not expose the API 
to
                         // control the Window size. It is effectively 
hard-coded
                         // to 15
                         if (!isServer && clientMaxWindowBits != 15) {

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

Reply via email to