diff --git a/source/org/jivesoftware/smackx/RosterExchangeManager.java b/source/org/jivesoftware/smackx/RosterExchangeManager.java index f6e991fab..0c1c186ae 100644 --- a/source/org/jivesoftware/smackx/RosterExchangeManager.java +++ b/source/org/jivesoftware/smackx/RosterExchangeManager.java @@ -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); } }