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

1. Replaces #printStackTrace with Log.error

2. Removes System.err


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@66 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4d82f8ab
......@@ -12,6 +12,7 @@ package org.jivesoftware.messenger.spi;
import org.jivesoftware.messenger.container.BasicModule;
import org.jivesoftware.messenger.*;
import org.jivesoftware.util.Log;
import java.util.*;
import java.util.concurrent.locks.ReadWriteLock;
......@@ -115,7 +116,7 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable {
((Hashtable)resourceRoutes).get(node.getResourcePrep());
}
else {
System.err.println(nameRoutes);
//System.err.println(nameRoutes);
throw new NoSuchRouteException(node.toString());
}
}
......@@ -273,7 +274,7 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable {
}
}
catch (Exception e) {
e.printStackTrace();
Log.error("Error removing route", e);
}
finally {
routeLock.writeLock().unlock();
......
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