hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1220284 - /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/AbstractIODispatch.java
Date Sat, 17 Dec 2011 22:03:39 GMT
Author: olegk
Date: Sat Dec 17 22:03:39 2011
New Revision: 1220284

URL: http://svn.apache.org/viewvc?rev=1220284&view=rev
Log:
Made AbstractIODispatch fully generic (can be used with protocols other than HTTP)

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/AbstractIODispatch.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/AbstractIODispatch.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/AbstractIODispatch.java?rev=1220284&r1=1220283&r2=1220284&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/AbstractIODispatch.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/AbstractIODispatch.java
Sat Dec 17 22:03:39 2011
@@ -30,7 +30,6 @@ package org.apache.http.impl.nio;
 import java.io.IOException;
 
 import org.apache.http.annotation.Immutable;
-import org.apache.http.nio.NHttpConnection;
 import org.apache.http.nio.reactor.IOEventDispatch;
 import org.apache.http.nio.reactor.IOSession;
 import org.apache.http.nio.reactor.ssl.SSLIOSession;
@@ -44,7 +43,7 @@ import org.apache.http.protocol.Executio
  * @since 4.2
  */
 @Immutable // provided injected dependencies are immutable
-public abstract class AbstractIODispatch<T extends NHttpConnection> implements IOEventDispatch
{
+public abstract class AbstractIODispatch<T> implements IOEventDispatch {
 
     protected abstract T createConnection(IOSession session);
 



Mime
View raw message