java: fix some raw types warnings
Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
This commit is contained in:
parent
b2196c1426
commit
a3a57bebcd
@ -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 );
|
||||
|
@ -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 ))
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user