incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r801267 - /sling/trunk/bundles/commons/classloader/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
Date Wed, 05 Aug 2009 15:29:48 GMT
Author: cziegeler
Date: Wed Aug  5 15:29:44 2009
New Revision: 801267

URL: http://svn.apache.org/viewvc?rev=801267&view=rev
Log:
Remove warnings

Modified:
    sling/trunk/bundles/commons/classloader/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java

Modified: sling/trunk/bundles/commons/classloader/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/classloader/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java?rev=801267&r1=801266&r2=801267&view=diff
==============================================================================
--- sling/trunk/bundles/commons/classloader/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
(original)
+++ sling/trunk/bundles/commons/classloader/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
Wed Aug  5 15:29:44 2009
@@ -73,12 +73,12 @@
         DynamicClassLoaderManagerImpl manager = new DynamicClassLoaderManagerImpl(bundleContext,
packageAdmin, null,
             new DynamicClassLoaderManagerFactory(bundleContext, packageAdmin));
         final ClassLoader cl = manager.getDynamicClassLoader();
-        final Class c1 = cl.loadClass("org.apache.sling.test.A");
+        final Class<?> c1 = cl.loadClass("org.apache.sling.test.A");
         Assert.assertEquals("java.util.Map", c1.getName());
-        final Class c2 = cl.loadClass("org.apache.sling.test.A");
+        final Class<?> c2 = cl.loadClass("org.apache.sling.test.A");
         Assert.assertEquals("java.util.Map", c2.getName());
         // as we cache the result, we still get the map!
-        final Class c3 = cl.loadClass("org.apache.sling.test.A");
+        final Class<?> c3 = cl.loadClass("org.apache.sling.test.A");
         Assert.assertEquals("java.util.Map", c3.getName());
     }
 }



Mime
View raw message