Commit 4c2bebea authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Removed warnings.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3769 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5d12d924
......@@ -181,7 +181,7 @@ public abstract class SocketReader implements Runnable {
String tag = doc.getName();
if ("message".equals(tag)) {
Message packet = null;
Message packet;
try {
packet = new Message(doc);
}
......@@ -198,7 +198,7 @@ public abstract class SocketReader implements Runnable {
processMessage(packet);
}
else if ("presence".equals(tag)) {
Presence packet = null;
Presence packet;
try {
packet = new Presence(doc);
}
......@@ -242,7 +242,7 @@ public abstract class SocketReader implements Runnable {
processPresence(packet);
}
else if ("iq".equals(tag)) {
IQ packet = null;
IQ packet;
try {
packet = getIQ(doc);
}
......
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