hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1515885 - /httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/pool/TestRouteSpecificPool.java
Date Tue, 20 Aug 2013 17:11:34 GMT
Author: sebb
Date: Tue Aug 20 17:11:34 2013
New Revision: 1515885

URL: http://svn.apache.org/r1515885
Log:
Localise @SuppressWarnings

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/pool/TestRouteSpecificPool.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/pool/TestRouteSpecificPool.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/pool/TestRouteSpecificPool.java?rev=1515885&r1=1515884&r2=1515885&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/pool/TestRouteSpecificPool.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/pool/TestRouteSpecificPool.java
Tue Aug 20 17:11:34 2013
@@ -299,7 +299,6 @@ public class TestRouteSpecificPool {
         Assert.assertNull(pool.nextPending());
     }
 
-    @SuppressWarnings("unchecked")
     @Test
     public void testShutdown() throws Exception {
         final LocalRoutePool pool = new LocalRoutePool();
@@ -308,6 +307,7 @@ public class TestRouteSpecificPool {
         final HttpConnection conn2 = Mockito.mock(HttpConnection.class);
         final LocalPoolEntry entry2 = pool.add(conn2);
 
+        @SuppressWarnings("unchecked")
         final PoolEntryFuture<LocalPoolEntry> future1 = Mockito.mock(PoolEntryFuture.class);
         pool.queue(future1);
 



Mime
View raw message