From 254c4a450a67d0208bdb49438fc7b54e2711e892 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Fri, 4 Nov 2005 19:51:29 +0000 Subject: [PATCH] Do not broadcast events for empty collections. SMACK-106 git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3033 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/Roster.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/source/org/jivesoftware/smack/Roster.java b/source/org/jivesoftware/smack/Roster.java index 614dcb0be..7bf825a34 100644 --- a/source/org/jivesoftware/smack/Roster.java +++ b/source/org/jivesoftware/smack/Roster.java @@ -565,9 +565,15 @@ public class Roster { rosterListeners.toArray(listeners); } for (int i=0; i