hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1515047 - /httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/pool/TestRouteSpecificPool.java
Date Sat, 17 Aug 2013 23:04:22 GMT
Author: sebb
Date: Sat Aug 17 23:04:22 2013
New Revision: 1515047

URL: http://svn.apache.org/r1515047
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=1515047&r1=1515046&r2=1515047&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
Sat Aug 17 23:04:22 2013
@@ -274,11 +274,12 @@ public class TestRouteSpecificPool {
         pool.remove(null);
     }
 
-    @SuppressWarnings("unchecked")
     @Test
     public void testWaitingThreadQueuing() throws Exception {
         final LocalRoutePool pool = new LocalRoutePool();
+        @SuppressWarnings("unchecked")
         final PoolEntryFuture<LocalPoolEntry> future1 = Mockito.mock(PoolEntryFuture.class);
+        @SuppressWarnings("unchecked")
         final PoolEntryFuture<LocalPoolEntry> future2 = Mockito.mock(PoolEntryFuture.class);
 
         Assert.assertEquals(0, pool.getPendingCount());



Mime
View raw message