Commit 31b07c83 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Removed unused parameter and never thrown Exception.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@331 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3439aab6
...@@ -178,7 +178,7 @@ public class IQRosterHandler extends IQHandler implements ServerFeaturesProvider ...@@ -178,7 +178,7 @@ public class IQRosterHandler extends IQHandler implements ServerFeaturesProvider
while (itemIter.hasNext()) { while (itemIter.hasNext()) {
RosterItem item = (RosterItem)itemIter.next(); RosterItem item = (RosterItem)itemIter.next();
if (item.getSubStatus() == RosterItem.SUB_REMOVE) { if (item.getSubStatus() == RosterItem.SUB_REMOVE) {
removeItem(cachedRoster, packet.getSender(), item, packet); removeItem(cachedRoster, packet.getSender(), item);
} }
else { else {
if (cachedRoster.isRosterItem(item.getJid())) { if (cachedRoster.isRosterItem(item.getJid())) {
...@@ -212,8 +212,8 @@ public class IQRosterHandler extends IQHandler implements ServerFeaturesProvider ...@@ -212,8 +212,8 @@ public class IQRosterHandler extends IQHandler implements ServerFeaturesProvider
* @param sender The XMPPAddress of the sender of the removal request * @param sender The XMPPAddress of the sender of the removal request
* @param item The removal item element * @param item The removal item element
*/ */
private void removeItem(Roster roster, XMPPAddress sender, RosterItem item, IQRoster packet) private void removeItem(Roster roster, XMPPAddress sender, RosterItem item)
throws UnauthorizedException, UserNotFoundException, XMLStreamException { throws UnauthorizedException, XMLStreamException {
XMPPAddress recipient = item.getJid(); XMPPAddress recipient = item.getJid();
// Remove recipient from the sender's roster // Remove recipient from the sender's roster
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment