1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Replace sync block with sync method

in XMPPTCPConnection.
This commit is contained in:
Florian Schmaus 2014-04-23 09:43:22 +02:00
parent 5b8fd51345
commit 0996a44a61

View file

@ -844,10 +844,8 @@ public class XMPPTCPConnection extends XMPPConnection {
* Notifies the XMPP connection that stream compression was denied so that
* the connection process can proceed.
*/
void streamCompressionDenied() {
synchronized (this) {
this.notify();
}
synchronized void streamCompressionDenied() {
this.notify();
}
/**