commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1520882 - /commons/proper/proxy/branches/version-2.0-work/core/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryTestCase.java
Date Sun, 08 Sep 2013 17:21:26 GMT
Author: mbenson
Date: Sun Sep  8 17:21:25 2013
New Revision: 1520882

URL: http://svn.apache.org/r1520882
Log:
generics

Modified:
    commons/proper/proxy/branches/version-2.0-work/core/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryTestCase.java

Modified: commons/proper/proxy/branches/version-2.0-work/core/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryTestCase.java?rev=1520882&r1=1520881&r2=1520882&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/core/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryTestCase.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/core/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryTestCase.java
Sun Sep  8 17:21:25 2013
@@ -226,11 +226,10 @@ public abstract class AbstractProxyFacto
         proxy.illegalArgument();
     }
 
-    @SuppressWarnings("unchecked")
     @Test
     public void testInterfaceHierarchies()
     {
-        final SortedSet set = factory.createDelegatorProxy(new ConstantProvider<SortedSet>(new
TreeSet()), SortedSet.class);
+        final SortedSet<String> set = factory.createDelegatorProxy(new ConstantProvider<SortedSet<String>>(new
TreeSet<String>()), SortedSet.class);
         set.add("Hello");
     }
 



Mime
View raw message