hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1571535 - /httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java
Date Tue, 25 Feb 2014 02:03:27 GMT
Author: sebb
Date: Tue Feb 25 02:03:26 2014
New Revision: 1571535

URL: http://svn.apache.org/r1571535
Log:
Suppress unused warnings for ctor tests

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java?rev=1571535&r1=1571534&r2=1571535&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java
Tue Feb 25 02:03:26 2014
@@ -224,6 +224,7 @@ public class TestHttpRoute {
                      8, routestrings.size());
     }
 
+    @SuppressWarnings("unused")
     @Test
     public void testInvalidArguments() {
         final HttpHost[] chain1 = { PROXY1 };
@@ -510,6 +511,7 @@ public class TestHttpRoute {
         Assert.assertEquals("bad convenience route 3/secure", route, should);
     }
 
+    @SuppressWarnings("unused")
     @Test
     public void testCstr4() {
         // test convenience constructor with 4 arguments



Mime
View raw message