You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sv...@apache.org on 2005/08/09 15:54:40 UTC

svn commit: r231035 - /myfaces/api/trunk/src/java/javax/faces/component/UIComponentBase.java

Author: svieujot
Date: Tue Aug  9 06:54:37 2005
New Revision: 231035

URL: http://svn.apache.org/viewcvs?rev=231035&view=rev
Log:
Revert buggy revision 225327 (Bugfix for saveState).

Modified:
    myfaces/api/trunk/src/java/javax/faces/component/UIComponentBase.java

Modified: myfaces/api/trunk/src/java/javax/faces/component/UIComponentBase.java
URL: http://svn.apache.org/viewcvs/myfaces/api/trunk/src/java/javax/faces/component/UIComponentBase.java?rev=231035&r1=231034&r2=231035&view=diff
==============================================================================
--- myfaces/api/trunk/src/java/javax/faces/component/UIComponentBase.java (original)
+++ myfaces/api/trunk/src/java/javax/faces/component/UIComponentBase.java Tue Aug  9 06:54:37 2005
@@ -588,12 +588,11 @@
         _transient = transientFlag;
     }
 
-
     public static Object saveAttachedState(FacesContext context,
                                            Object attachedObject)
     {
         if (attachedObject == null) return null;
-        if (attachedObject instanceof ArrayList)
+        if (attachedObject instanceof List)
         {
             List lst = new ArrayList(((List)attachedObject).size());
             for (Iterator it = ((List)attachedObject).iterator(); it.hasNext(); )