From c84d594f75d734a037f8ac71e2dd56c221c232e0 Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Mon, 10 Mar 2008 20:00:15 +0000 Subject: [PATCH] HTTPCLIENT-758: Fixed the use of generics in AbstractHttpClient #removeRequestInterceptorByClass and #removeResponseInterceptorByClass Contributed by Johannes Koch Reviewed by Oleg Kalnichevski git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@635675 13f79535-47bb-0310-9956-ffa450edef68 --- RELEASE_NOTES.txt | 4 ++++ .../java/org/apache/http/impl/client/AbstractHttpClient.java | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt index 78911f245..38de972b6 100644 --- a/RELEASE_NOTES.txt +++ b/RELEASE_NOTES.txt @@ -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 + * [HTTPCLIENT-749] HttpParams beans Contributed by Stojce Dimski diff --git a/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java b/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java index a2518dd9f..6ef78d1e9 100644 --- a/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java +++ b/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java @@ -379,7 +379,7 @@ public abstract class AbstractHttpClient implements HttpClient { } - public void removeResponseInterceptorByClass(Class clazz) { + public void removeResponseInterceptorByClass(Class clazz) { getHttpProcessor().removeResponseInterceptorByClass(clazz); } @@ -409,7 +409,7 @@ public abstract class AbstractHttpClient implements HttpClient { } - public void removeRequestInterceptorByClass(Class clazz) { + public void removeRequestInterceptorByClass(Class clazz) { getHttpProcessor().removeRequestInterceptorByClass(clazz); }