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 ...@@ -219,7 +219,7 @@ public class FileTransferProxy extends BasicModule
return new JID(null, getServiceDomain(), null); return new JID(null, getServiceDomain(), null);
} }
public Iterator getItems() { public Iterator<DiscoServerItem> getItems() {
ArrayList<DiscoServerItem> items = new ArrayList<DiscoServerItem>(); ArrayList<DiscoServerItem> items = new ArrayList<DiscoServerItem>();
items.add(new DiscoServerItem() { items.add(new DiscoServerItem() {
...@@ -285,7 +285,7 @@ public class FileTransferProxy extends BasicModule ...@@ -285,7 +285,7 @@ public class FileTransferProxy extends BasicModule
// Check if the packet is a disco request or a packet with namespace iq:register // Check if the packet is a disco request or a packet with namespace iq:register
if (packet instanceof IQ) { if (packet instanceof IQ) {
if (handleIQ((IQ) packet)) { if (handleIQ((IQ) packet)) {
return; // Do nothing
} }
else { else {
IQ reply = IQ.createResultIQ((IQ) packet); 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