ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java |   10 
+++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 982bd513c65add804e83e2e74782740a5653742f
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Fri Sep 1 18:17:19 2023 +0200
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Fri Sep 1 21:28:20 2023 +0200

    Fix typo
    
    Change-Id: I63b019aa12eb4898374162b0226728fd49bef93c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156427
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git 
a/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java 
b/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java
index 7f522df409d1..16a5ad17f1e6 100644
--- a/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java
+++ b/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java
@@ -262,7 +262,7 @@ public class WebsocketConnection extends WebSocketClient 
implements XConnection,
         String[] messageParts = message.split(": ", 2);
         if (messageParts.length != 2)
         {
-            notifyListeners_error(new com.sun.star.uno.Exception(new 
ProtocolException(String.format("Recieved URP/WS message (%s) without a type 
specifier. Messages must be proceeded by 'urp: '", message))));
+            notifyListeners_error(new com.sun.star.uno.Exception(new 
ProtocolException(String.format("Received URP/WS message (%s) without a type 
specifier. Messages must be proceeded by 'urp: '", message))));
             return;
         }
 
@@ -283,7 +283,7 @@ public class WebsocketConnection extends WebSocketClient 
implements XConnection,
             return;
         }
 
-        if (DEBUG) System.err.println(String.format("##### %s - recieved %s 
chars", getClass().getName(), Integer.toString(messageBytes.length)));
+        if (DEBUG) System.err.println(String.format("##### %s - received %s 
chars", getClass().getName(), Integer.toString(messageBytes.length)));
     }
 
     @Override
@@ -302,14 +302,14 @@ public class WebsocketConnection extends WebSocketClient 
implements XConnection,
         }
 
         if(!hasType) {
-            notifyListeners_error(new com.sun.star.uno.Exception(new 
ProtocolException(String.format("Recieved URP/WS message (%s) without a type 
specifier. Binary messages must be proceeded by 'urp: ' or 'urp:\\n'", 
message))));
+            notifyListeners_error(new com.sun.star.uno.Exception(new 
ProtocolException(String.format("Received URP/WS message (%s) without a type 
specifier. Binary messages must be proceeded by 'urp: ' or 'urp:\\n'", 
message))));
             return;
         }
 
         int messageStartIndex = i + 2;
 
         if (!messageType.equals("urp")) {
-            if (DEBUG) System.err.println(String.format("##### %s - recieved 
%s binary message but that is not URP", getClass().getName(), messageType));
+            if (DEBUG) System.err.println(String.format("##### %s - received 
%s binary message but that is not URP", getClass().getName(), messageType));
             return;
         }
 
@@ -322,7 +322,7 @@ public class WebsocketConnection extends WebSocketClient 
implements XConnection,
             return;
         }
 
-        if (DEBUG) System.err.println(String.format("##### %s - recieved %s 
bytes", getClass().getName(), Integer.toString(prefixedMessageBytes.length)));
+        if (DEBUG) System.err.println(String.format("##### %s - received %s 
bytes", getClass().getName(), Integer.toString(prefixedMessageBytes.length)));
     }
 
     @Override

Reply via email to