sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-commons-classloader] 17/21: Remove warnings
Date Tue, 07 Nov 2017 09:19:44 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-0.9.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git

commit a3913297f54da6e716f4db799e43fe543b6f50f9
Author: Carsten Ziegeler <cziegeler@apache.org>
AuthorDate: Wed Aug 5 15:29:44 2009 +0000

    Remove warnings
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@801267
13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/commons/classloader/impl/ClassLoadingTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
b/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
index e60256f..2c2d5a0 100644
--- a/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
+++ b/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
@@ -73,12 +73,12 @@ public class ClassLoadingTest {
         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());
     }
 }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message