1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-16 12:12:06 +01:00

param name modified

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2067 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2003-08-24 23:05:54 +00:00 committed by gdombiak
parent ec9df5b41c
commit bfb927b502

View file

@ -172,14 +172,14 @@ public class RosterExchangeManager {
/** /**
* Fires roster exchange listeners. * Fires roster exchange listeners.
*/ */
private void fireRosterExchangeListeners(String from, Iterator rosterEntries) { private void fireRosterExchangeListeners(String from, Iterator remoteRosterEntries) {
RosterExchangeListener[] listeners = null; RosterExchangeListener[] listeners = null;
synchronized (rosterExchangeListeners) { synchronized (rosterExchangeListeners) {
listeners = new RosterExchangeListener[rosterExchangeListeners.size()]; listeners = new RosterExchangeListener[rosterExchangeListeners.size()];
rosterExchangeListeners.toArray(listeners); rosterExchangeListeners.toArray(listeners);
} }
for (int i = 0; i < listeners.length; i++) { for (int i = 0; i < listeners.length; i++) {
listeners[i].entriesReceived(from, rosterEntries); listeners[i].entriesReceived(from, remoteRosterEntries);
} }
} }