java: fix some raw types warnings

Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
This commit is contained in:
Noel Grandin 2014-11-18 11:46:50 +02:00
parent b2196c1426
commit a3a57bebcd
3 changed files with 5 additions and 5 deletions

View File

@ -132,7 +132,7 @@ final class CustomURLClassLoader extends URLClassLoader {
}
@Override
protected Class findClass( String name ) throws ClassNotFoundException {
protected Class<?> findClass( String name ) throws ClassNotFoundException {
// This is only called via this.loadClass -> super.loadClass ->
// this.findClass, after this.loadClass has already called
// super.findClass, so no need to call super.findClass again:
@ -142,7 +142,7 @@ final class CustomURLClassLoader extends URLClassLoader {
@Override
protected Class loadClass( String name, boolean resolve )
protected Class<?> loadClass( String name, boolean resolve )
throws ClassNotFoundException
{
Class c = findLoadedClass( name );

View File

@ -150,7 +150,7 @@ public final class JNI_proxy implements java.lang.reflect.InvocationHandler
Object proxy, java.lang.reflect.Method method, Object args [] )
throws Throwable
{
Class decl_class = method.getDeclaringClass();
Class<?> decl_class = method.getDeclaringClass();
String method_name = method.getName();
if (Object.class.equals( decl_class ))

View File

@ -299,7 +299,7 @@ public final class Loader {
}
@Override
protected Class findClass( String name ) throws ClassNotFoundException {
protected Class<?> findClass( String name ) throws ClassNotFoundException {
// This is only called via this.loadClass -> super.loadClass ->
// this.findClass, after this.loadClass has already called
// super.findClass, so no need to call super.findClass again:
@ -307,7 +307,7 @@ public final class Loader {
}
@Override
protected Class loadClass( String name, boolean resolve )
protected Class<?> loadClass( String name, boolean resolve )
throws ClassNotFoundException
{
Class c = findLoadedClass( name );