hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1625050 - /httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/impl/io/TestChunkCoding.java
Date Mon, 15 Sep 2014 15:06:06 GMT
Author: olegk
Date: Mon Sep 15 15:06:05 2014
New Revision: 1625050

URL: http://svn.apache.org/r1625050
Log:
Fixed test case broken by r1621221

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/impl/io/TestChunkCoding.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/impl/io/TestChunkCoding.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/impl/io/TestChunkCoding.java?rev=1625050&r1=1625049&r2=1625050&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/impl/io/TestChunkCoding.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/impl/io/TestChunkCoding.java
Mon Sep 15 15:06:05 2014
@@ -333,7 +333,10 @@ public class TestChunkCoding {
             Assert.fail("MessageConstraintException expected");
         } catch (MessageConstraintException ex) {
         } finally {
-            in2.close();
+            try {
+                in2.close();
+            } catch (MessageConstraintException ex) {
+            }
         }
     }
 



Mime
View raw message