Kaydet (Commit) a3a57beb authored tarafından Noel Grandin's avatar Noel Grandin

java: fix some raw types warnings

Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
üst b2196c14
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment