Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
parent
c648dedbde
commit
97b8365caf
17478 changed files with 606493 additions and 100744 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue