mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +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:
parent
ec9df5b41c
commit
bfb927b502
1 changed files with 2 additions and 2 deletions
|
@ -172,14 +172,14 @@ public class RosterExchangeManager {
|
|||
/**
|
||||
* Fires roster exchange listeners.
|
||||
*/
|
||||
private void fireRosterExchangeListeners(String from, Iterator rosterEntries) {
|
||||
private void fireRosterExchangeListeners(String from, Iterator remoteRosterEntries) {
|
||||
RosterExchangeListener[] listeners = null;
|
||||
synchronized (rosterExchangeListeners) {
|
||||
listeners = new RosterExchangeListener[rosterExchangeListeners.size()];
|
||||
rosterExchangeListeners.toArray(listeners);
|
||||
}
|
||||
for (int i = 0; i < listeners.length; i++) {
|
||||
listeners[i].entriesReceived(from, rosterEntries);
|
||||
listeners[i].entriesReceived(from, remoteRosterEntries);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue