You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2007/08/11 13:01:40 UTC

svn commit: r564893 - /myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/ReflectiveViewControllerExecutor.java

Author: skitching
Date: Sat Aug 11 04:01:39 2007
New Revision: 564893

URL: http://svn.apache.org/viewvc?view=rev&rev=564893
Log:
Add casts to avoid compile warnings.

Modified:
    myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/ReflectiveViewControllerExecutor.java

Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/ReflectiveViewControllerExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/ReflectiveViewControllerExecutor.java?view=diff&rev=564893&r1=564892&r2=564893
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/ReflectiveViewControllerExecutor.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/ReflectiveViewControllerExecutor.java Sat Aug 11 04:01:39 2007
@@ -47,8 +47,8 @@
 	{
 		try
 		{
-			Method method = bean.getClass().getMethod(methodName, null); // NON-NLS
-			method.invoke(bean, null);
+			Method method = bean.getClass().getMethod(methodName, (Class[]) null); // NON-NLS
+			method.invoke(bean, (Object[]) null);
 		}
 		catch (NoSuchMethodException e)
 		{