Commit 9d842afd authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Removed warnings.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3758 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1771dc01
......@@ -219,7 +219,7 @@ public class FileTransferProxy extends BasicModule
return new JID(null, getServiceDomain(), null);
}
public Iterator getItems() {
public Iterator<DiscoServerItem> getItems() {
ArrayList<DiscoServerItem> items = new ArrayList<DiscoServerItem>();
items.add(new DiscoServerItem() {
......@@ -285,7 +285,7 @@ public class FileTransferProxy extends BasicModule
// Check if the packet is a disco request or a packet with namespace iq:register
if (packet instanceof IQ) {
if (handleIQ((IQ) packet)) {
return;
// Do nothing
}
else {
IQ reply = IQ.createResultIQ((IQ) packet);
......
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