hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r635675 - in /httpcomponents/httpclient/trunk: RELEASE_NOTES.txt module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
Date Mon, 10 Mar 2008 20:00:18 GMT
Author: olegk
Date: Mon Mar 10 13:00:15 2008
New Revision: 635675

URL: http://svn.apache.org/viewvc?rev=635675&view=rev
Log:
HTTPCLIENT-758: Fixed the use of generics in AbstractHttpClient #removeRequestInterceptorByClass
and #removeResponseInterceptorByClass
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski



Modified:
    httpcomponents/httpclient/trunk/RELEASE_NOTES.txt
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java

Modified: httpcomponents/httpclient/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/RELEASE_NOTES.txt?rev=635675&r1=635674&r2=635675&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/RELEASE_NOTES.txt (original)
+++ httpcomponents/httpclient/trunk/RELEASE_NOTES.txt Mon Mar 10 13:00:15 2008
@@ -1,6 +1,10 @@
 Changes since 4.0 Alpha 3
 -------------------
 
+* [HTTPCLIENT-758] Fixed the use of generics in AbstractHttpClient
+  #removeRequestInterceptorByClass and #removeResponseInterceptorByClass
+  Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
+
 * [HTTPCLIENT-749] HttpParams beans
   Contributed by Stojce Dimski <sdmiski at yahoo.it>
 

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java?rev=635675&r1=635674&r2=635675&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
Mon Mar 10 13:00:15 2008
@@ -379,7 +379,7 @@
     }
 
 
-    public void removeResponseInterceptorByClass(Class<HttpResponseInterceptor> clazz)
{
+    public void removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor>
clazz) {
         getHttpProcessor().removeResponseInterceptorByClass(clazz);
     }
 
@@ -409,7 +409,7 @@
     }
 
 
-    public void removeRequestInterceptorByClass(Class<HttpRequestInterceptor> clazz)
{
+    public void removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor>
clazz) {
         getHttpProcessor().removeRequestInterceptorByClass(clazz);
     }
 



Mime
View raw message