hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1492234 - in /httpcomponents/httpasyncclient/trunk: httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java pom.xml
Date Wed, 12 Jun 2013 15:04:03 GMT
Author: olegk
Date: Wed Jun 12 15:04:02 2013
New Revision: 1492234

URL: http://svn.apache.org/r1492234
Log:
Upgraded HttpClient to version 4.3-beta2

Modified:
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java
    httpcomponents/httpasyncclient/trunk/pom.xml

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java?rev=1492234&r1=1492233&r2=1492234&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java
Wed Jun 12 15:04:02 2013
@@ -646,9 +646,9 @@ public class TestRedirects extends HttpA
         try {
             final Future<HttpResponse> future = this.httpclient.execute(target, httpget,
null);
             future.get();
-        } catch (final ExecutionException e) {
-            Assert.assertTrue(e.getCause() instanceof IOException);
-            throw e;
+        } catch (final ExecutionException ex) {
+            Assert.assertTrue(ex.getCause() instanceof HttpException);
+            throw ex;
         }
     }
 

Modified: httpcomponents/httpasyncclient/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/pom.xml?rev=1492234&r1=1492233&r2=1492234&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/pom.xml (original)
+++ httpcomponents/httpasyncclient/trunk/pom.xml Wed Jun 12 15:04:02 2013
@@ -66,7 +66,7 @@
 
   <properties>
     <httpcore.version>4.3-beta2</httpcore.version>
-    <httpclient.version>4.3-beta1</httpclient.version>
+    <httpclient.version>4.3-beta2</httpclient.version>
     <commons-logging.version>1.1.1</commons-logging.version>
     <!-- Note IO 2.3+ requires Java 6 -->
     <commons-io.version>2.2</commons-io.version>



Mime
View raw message