mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Replace sync block with sync method
in XMPPTCPConnection.
This commit is contained in:
parent
5b8fd51345
commit
0996a44a61
1 changed files with 2 additions and 4 deletions
|
@ -844,11 +844,9 @@ public class XMPPTCPConnection extends XMPPConnection {
|
||||||
* Notifies the XMPP connection that stream compression was denied so that
|
* Notifies the XMPP connection that stream compression was denied so that
|
||||||
* the connection process can proceed.
|
* the connection process can proceed.
|
||||||
*/
|
*/
|
||||||
void streamCompressionDenied() {
|
synchronized void streamCompressionDenied() {
|
||||||
synchronized (this) {
|
|
||||||
this.notify();
|
this.notify();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Establishes a connection to the XMPP server and performs an automatic login
|
* Establishes a connection to the XMPP server and performs an automatic login
|
||||||
|
|
Loading…
Reference in a new issue