You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2007/08/12 14:48:46 UTC

svn commit: r565054 - /myfaces/core/branches/1_2_1/impl/src/main/java/org/apache/myfaces/event/SetPropertyActionListener.java

Author: mmarinschek
Date: Sun Aug 12 05:48:45 2007
New Revision: 565054

URL: http://svn.apache.org/viewvc?view=rev&rev=565054
Log:
fix for https://issues.apache.org/jira/browse/MYFACES-1703: thanks to Bernhard Huemer for this patch

Modified:
    myfaces/core/branches/1_2_1/impl/src/main/java/org/apache/myfaces/event/SetPropertyActionListener.java

Modified: myfaces/core/branches/1_2_1/impl/src/main/java/org/apache/myfaces/event/SetPropertyActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1_2_1/impl/src/main/java/org/apache/myfaces/event/SetPropertyActionListener.java?view=diff&rev=565054&r1=565053&r2=565054
==============================================================================
--- myfaces/core/branches/1_2_1/impl/src/main/java/org/apache/myfaces/event/SetPropertyActionListener.java (original)
+++ myfaces/core/branches/1_2_1/impl/src/main/java/org/apache/myfaces/event/SetPropertyActionListener.java Sun Aug 12 05:48:45 2007
@@ -83,7 +83,7 @@
 
     public void restoreState(FacesContext context, Object state)
     {
-        Object[] values = new Object[2];
+        Object[] values = (Object[]) state;
         target = (ValueExpression) values[0];
         value = (ValueExpression) values[1];
     }