java: fix some raw types warnings
Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
This commit is contained in:
@@ -132,7 +132,7 @@ final class CustomURLClassLoader extends URLClassLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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 is only called via this.loadClass -> super.loadClass ->
|
||||||
// this.findClass, after this.loadClass has already called
|
// this.findClass, after this.loadClass has already called
|
||||||
// super.findClass, so no need to call super.findClass again:
|
// super.findClass, so no need to call super.findClass again:
|
||||||
@@ -142,7 +142,7 @@ final class CustomURLClassLoader extends URLClassLoader {
|
|||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Class loadClass( String name, boolean resolve )
|
protected Class<?> loadClass( String name, boolean resolve )
|
||||||
throws ClassNotFoundException
|
throws ClassNotFoundException
|
||||||
{
|
{
|
||||||
Class c = findLoadedClass( name );
|
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 [] )
|
Object proxy, java.lang.reflect.Method method, Object args [] )
|
||||||
throws Throwable
|
throws Throwable
|
||||||
{
|
{
|
||||||
Class decl_class = method.getDeclaringClass();
|
Class<?> decl_class = method.getDeclaringClass();
|
||||||
String method_name = method.getName();
|
String method_name = method.getName();
|
||||||
|
|
||||||
if (Object.class.equals( decl_class ))
|
if (Object.class.equals( decl_class ))
|
||||||
|
@@ -299,7 +299,7 @@ public final class Loader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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 is only called via this.loadClass -> super.loadClass ->
|
||||||
// this.findClass, after this.loadClass has already called
|
// this.findClass, after this.loadClass has already called
|
||||||
// super.findClass, so no need to call super.findClass again:
|
// super.findClass, so no need to call super.findClass again:
|
||||||
@@ -307,7 +307,7 @@ public final class Loader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Class loadClass( String name, boolean resolve )
|
protected Class<?> loadClass( String name, boolean resolve )
|
||||||
throws ClassNotFoundException
|
throws ClassNotFoundException
|
||||||
{
|
{
|
||||||
Class c = findLoadedClass( name );
|
Class c = findLoadedClass( name );
|
||||||
|
Reference in New Issue
Block a user