OSDN Git Service

libjava/ChangeLog:
[pf3gnuchains/gcc-fork.git] / libjava / classpath / javax / management / MBeanOperationInfo.java
index 6495072..03220c1 100644 (file)
@@ -121,14 +121,14 @@ public class MBeanOperationInfo
        Type t = paramTypes[a];
        if (t instanceof Class)
          signature[a] = new MBeanParameterInfo(null,
-                                               ((Class) t).getName(),
+                                               ((Class<?>) t).getName(),
                                                 null);
        else
          signature[a] = new MBeanParameterInfo(null, t.toString(), null);
       }
     Type retType = method.getGenericReturnType();
     if (retType instanceof Class)
-      type = ((Class) retType).getName();
+      type = ((Class<?>) retType).getName();
     else
       type = retType.toString();
     if (method.getReturnType() == Void.TYPE)