Commit a82671bc authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Code cleanup.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@686 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9901a2ed
......@@ -149,15 +149,7 @@ public class IQRosterHandler extends IQHandler implements ServerFeaturesProvider
UserAlreadyExistsException {
IQ returnPacket = null;
Session session = null;
try {
session = sessionManager.getSession(packet.getFrom());
}
catch (Exception e) {
IQ error = IQ.createResultIQ(packet);
error.setError(PacketError.Condition.internal_server_error);
return error;
}
Session session = sessionManager.getSession(packet.getFrom());
IQ.Type type = packet.getType();
......
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