Cleaning System.err.println() calls (both active and commented ones)

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@694265 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2008-09-11 14:12:04 +00:00
parent deb11f5ef8
commit 9ed183df88
4 changed files with 2 additions and 8 deletions

View File

@ -366,7 +366,6 @@ public class MessageListenerServlet extends MessageServletSupport {
writer.flush();
String m = swriter.toString();
// System.err.println(m);
response.getWriter().println(m);
}

View File

@ -208,7 +208,6 @@ public class MessageServlet extends MessageServletSupport {
// send a response for each available message (up to max
// messages)
while ((maxMessages < 0 || messages < maxMessages) && message != null) {
// System.err.println("message["+messages+"]="+message);
if (ajax) {
writer.print("<response type='object' id='");
writer.print(request.getParameter("id"));
@ -302,7 +301,6 @@ public class MessageServlet extends MessageServletSupport {
// max
// messages)
while ((maxMessages < 0 || messages < maxMessages) && message != null) {
// System.err.println("message["+messages+"]="+message);
if (ajax) {
writer.print("<response type='object' id='");
writer.print(request.getParameter("id"));

View File

@ -278,7 +278,7 @@ public abstract class MessageServletSupport extends HttpServlet {
}
uri = uri.replace('/', '.');
System.err.println("destination uri=" + uri);
LOG.debug("destination uri=" + uri);
return getDestination(client, request, uri);
}
@ -303,7 +303,7 @@ public abstract class MessageServletSupport extends HttpServlet {
if (destinationOptions != null) {
destinationName += "?" + destinationOptions;
}
LOG.debug(destinationName + " (" + (isTopic ? "topic" : "queue") + ")");
if (isTopic) {
return client.getSession().createTopic(destinationName);
} else {

View File

@ -40,9 +40,6 @@ public class SessionFilter implements Filter {
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
((HttpServletRequest)request).getSession(true);
// if (session.isNew())
// System.err.println("NEW SESSION "+session.getId()+" for
// "+((HttpServletRequest)request).getRequestURI());
chain.doFilter(request, response);
}