Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -295,7 +295,7 @@ public class Beans
|
||||
* @return the Bean as a new view, or if the operation
|
||||
* could not be performed, the Bean itself.
|
||||
*/
|
||||
public static Object getInstanceOf(Object bean, Class newClass)
|
||||
public static Object getInstanceOf(Object bean, Class<?> newClass)
|
||||
{
|
||||
return bean;
|
||||
}
|
||||
@@ -314,7 +314,7 @@ public class Beans
|
||||
* @return whether the Bean can be cast to the class type
|
||||
* in question.
|
||||
*/
|
||||
public static boolean isInstanceOf(Object bean, Class newBeanClass)
|
||||
public static boolean isInstanceOf(Object bean, Class<?> newBeanClass)
|
||||
{
|
||||
return newBeanClass.isInstance(bean);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user