You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/08/19 14:15:18 UTC

[tomcat] branch 8.5.x updated: Wording update - primarily to trigger CI

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 abf81f4  Wording update - primarily to trigger CI
abf81f4 is described below

commit abf81f4903ac383122b385ddcaf30b8012440eec
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Aug 19 15:13:45 2020 +0100

    Wording update - primarily to trigger CI
---
 .../examples/WEB-INF/classes/websocket/drawboard/Client.java   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.java b/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.java
index 909950d..6d87660 100644
--- a/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.java
+++ b/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.java
@@ -114,9 +114,9 @@ public class Client {
                             // Maybe call this method on another thread.
                             // Note that when this method is called, the RemoteEndpoint.Async
                             // is still in the process of sending data, so there probably should
-                            // be another way to abort the Websocket connection.
-                            // Ideally, there should be some abort() method that cancels the
-                            // connection immediately...
+                            // be another way to cancel the Websocket connection.
+                            // Ideally, there should be some method that cancels the connection
+                            // immediately...
                             session.close(cr);
                         } catch (IOException e) {
                             // Ignore
@@ -203,8 +203,8 @@ public class Client {
                 // other messages.
                 // As a precaution, we close the session (e.g. if a send timeout occurred).
                 // TODO: session.close() blocks, while this handler shouldn't block.
-                // Ideally, there should be some abort() method that cancels the
-                // connection immediately...
+                // Ideally, there should be some method that cancels the connection
+                // immediately...
                 try {
                     session.close();
                 } catch (IOException ex) {


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