From 601993dff3e0db1886981e6aa3c49481ad426545 Mon Sep 17 00:00:00 2001 From: Will Reichert Date: Thu, 25 Oct 2012 06:10:29 -0400 Subject: [PATCH] Change to HttpClient return type based on new API Changed the return type to HttpClient based on changes to internal API. This might be a compatibility issue. --- .../faban/driver/transport/sunhttp/URLStreamHandlerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/src/com/sun/faban/driver/transport/sunhttp/URLStreamHandlerFactory.java b/driver/src/com/sun/faban/driver/transport/sunhttp/URLStreamHandlerFactory.java index 7ae359ca..cfdbfc2c 100644 --- a/driver/src/com/sun/faban/driver/transport/sunhttp/URLStreamHandlerFactory.java +++ b/driver/src/com/sun/faban/driver/transport/sunhttp/URLStreamHandlerFactory.java @@ -69,7 +69,7 @@ protected Map> initialValue() { * @return An object in the cache, or null if there is none. */ @Override - public Object get(URL url, Object obj) { + public HttpClient get(URL url, Object obj) { Map> map = localHash.get(); KeepAliveKey dkak = new KeepAliveKey(url); List clientVector = map.get(dkak);