From 4376cf5639efb32445315d1e2c10de39b1a01519 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Tue, 28 Jun 2005 17:48:04 +0000 Subject: [PATCH] Fixed notification problem with Roster that was making XMPPConnection#getRoster() to take too long. SMACK-63 git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2506 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/Roster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/org/jivesoftware/smack/Roster.java b/source/org/jivesoftware/smack/Roster.java index eb81024c2..d53570353 100644 --- a/source/org/jivesoftware/smack/Roster.java +++ b/source/org/jivesoftware/smack/Roster.java @@ -768,9 +768,9 @@ public class Roster { } // Mark the roster as initialized. - synchronized (this) { + synchronized (Roster.this) { rosterInitialized = true; - notifyAll(); + Roster.this.notifyAll(); } // Fire event for roster listeners.