openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r888473 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ClassResolverImpl.java
Date Tue, 08 Dec 2009 16:36:20 GMT
Author: ppoddar
Date: Tue Dec  8 16:36:19 2009
New Revision: 888473

URL: http://svn.apache.org/viewvc?rev=888473&view=rev
Log:
Use generic type argument

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ClassResolverImpl.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ClassResolverImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ClassResolverImpl.java?rev=888473&r1=888472&r2=888473&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ClassResolverImpl.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ClassResolverImpl.java
Tue Dec  8 16:36:19 2009
@@ -32,8 +32,7 @@
 public class ClassResolverImpl
     implements ClassResolver {
 
-    public ClassLoader getClassLoader(Class contextClass,
-        ClassLoader envLoader) {
+    public ClassLoader getClassLoader(Class<?> contextClass,  ClassLoader envLoader)
{
         // get the context class' loader; if the class was loaded by the
         // bootstrap loader, use the system classloader in the hopes that
         // class.forName calls on it will find the bootstrap loader's cached



Mime
View raw message