mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-19 02:22:05 +01:00
[websocket] Override AbstractWebSocket.toString()
This commit is contained in:
parent
92f1fe647b
commit
a2a22883d2
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
*
|
||||
* Copyright 2020 Aditya Borikar, 2020-2021 Florian Schmaus
|
||||
* Copyright 2020 Aditya Borikar, 2020-2023 Florian Schmaus
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -156,4 +156,9 @@ public abstract class AbstractWebSocket {
|
|||
}
|
||||
|
||||
public abstract SSLSession getSSLSession();
|
||||
|
||||
@Override
|
||||
public final String toString() {
|
||||
return getClass().getSimpleName() + "[" + connectionInternal.connection + "]";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue