felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject svn commit: r1705154 - /felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/dispatch/RequestDispatcherImpl.java
Date Thu, 24 Sep 2015 21:13:34 GMT
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);
     }
 }



Mime
View raw message