You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by sr...@apache.org on 2015/09/24 23:13:34 UTC
svn commit: r1705154 -
/felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/dispatch/RequestDispatcherImpl.java
Author: srs
Date: Thu Sep 24 21:13:34 2015
New Revision: 1705154
URL: http://svn.apache.org/viewvc?rev=1705154&view=rev
Log:
FELIX-5052: Removed annoying System.out in RequestDispatcherImpl.
Modified:
felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/dispatch/RequestDispatcherImpl.java
Modified: felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/dispatch/RequestDispatcherImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/dispatch/RequestDispatcherImpl.java?rev=1705154&r1=1705153&r2=1705154&view=diff
==============================================================================
--- felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/dispatch/RequestDispatcherImpl.java (original)
+++ felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/dispatch/RequestDispatcherImpl.java Thu Sep 24 21:13:34 2015
@@ -39,10 +39,9 @@ public final class RequestDispatcherImpl
private final RequestInfo requestInfo;
private final ServletResolution resolution;
- public RequestDispatcherImpl(final ServletResolution resolution,
+ public RequestDispatcherImpl(final ServletResolution resolution,
final RequestInfo requestInfo)
{
- System.out.println("New dispatcher with " + requestInfo);
this.resolution = resolution;
this.requestInfo = requestInfo;
}
@@ -72,7 +71,7 @@ public final class RequestDispatcherImpl
final FilterHandler[] filterHandlers = this.resolution.handlerRegistry.getFilterHandlers(this.resolution.handler, DispatcherType.FORWARD, requestURI);
final FilterChain filterChain = new InvocationChain(resolution.handler, filterHandlers);
- filterChain.doFilter( req, (HttpServletResponse) response);
+ filterChain.doFilter( req, response);
}
finally
{
@@ -99,6 +98,6 @@ public final class RequestDispatcherImpl
final FilterHandler[] filterHandlers = this.resolution.handlerRegistry.getFilterHandlers(this.resolution.handler, DispatcherType.INCLUDE, requestURI);
final FilterChain filterChain = new InvocationChain(resolution.handler, filterHandlers);
- filterChain.doFilter( req, (HttpServletResponse) response);
+ filterChain.doFilter( req, response);
}
}