Author: markt
Date: Tue Aug 16 11:11:31 2011
New Revision: 1158198

URL: http://svn.apache.org/viewvc?rev=1158198&view=rev
Log:
Fix generics warnings

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java

Modified: 
tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java?rev=1158198&r1=1158197&r2=1158198&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java Tue 
Aug 16 11:11:31 2011
@@ -612,14 +612,14 @@ public abstract class AbstractHttp11Proc
      * Exposes input buffer to super class to allow better code re-use.
      * @return  The input buffer used by the processor. 
      */
-    protected abstract AbstractInputBuffer getInputBuffer();
+    protected abstract AbstractInputBuffer<S> getInputBuffer();
 
     
     /**
      * Exposes output buffer to super class to allow better code re-use.
      * @return  The output buffer used by the processor. 
      */
-    protected abstract AbstractOutputBuffer getOutputBuffer();
+    protected abstract AbstractOutputBuffer<S> getOutputBuffer();
 
     
     /**
@@ -747,7 +747,7 @@ public abstract class AbstractHttp11Proc
             InputFilter savedBody = new SavedRequestInputFilter(body);
             savedBody.setRequest(request);
 
-            AbstractInputBuffer internalBuffer = (AbstractInputBuffer)
+            AbstractInputBuffer<S> internalBuffer = (AbstractInputBuffer<S>)
                 request.getInputBuffer();
             internalBuffer.addActiveFilter(savedBody);
         } else if (actionCode == ActionCode.ASYNC_START) {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to