mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
Add missing 'synchronized' keywords to Manager.getInstanceFor()
Fixes SMACK-865.
This commit is contained in:
parent
6076a9dfa5
commit
488055948d
8 changed files with 8 additions and 8 deletions
|
@ -620,7 +620,7 @@ public class JingleSession extends JingleNegotiator implements MediaReceivedList
|
|||
* A XMPP connection
|
||||
* @return a Jingle session
|
||||
*/
|
||||
public static JingleSession getInstanceFor(XMPPConnection con) {
|
||||
public static synchronized JingleSession getInstanceFor(XMPPConnection con) {
|
||||
if (con == null) {
|
||||
throw new IllegalArgumentException("XMPPConnection cannot be null");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue