You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2011/07/26 18:52:47 UTC

svn commit: r1151167 - in /myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component: _DeltaList.java behavior/_DeltaList.java

Author: lu4242
Date: Tue Jul 26 16:52:46 2011
New Revision: 1151167

URL: http://svn.apache.org/viewvc?rev=1151167&view=rev
Log:
MYFACES-3227 myfaces _DeltaList does not call clearInitialState when retainAll(Collection<?>) method is called (thanks to user Ikw for provide this patch)

Modified:
    myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/_DeltaList.java
    myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/behavior/_DeltaList.java

Modified: myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/_DeltaList.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/_DeltaList.java?rev=1151167&r1=1151166&r2=1151167&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/_DeltaList.java (original)
+++ myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/_DeltaList.java Tue Jul 26 16:52:46 2011
@@ -162,6 +162,7 @@ class _DeltaList<T> implements List<T>, 
 
     public boolean retainAll(Collection<?> c)
     {
+        clearInitialState();
         return _delegate.retainAll(c);
     }
 

Modified: myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/behavior/_DeltaList.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/behavior/_DeltaList.java?rev=1151167&r1=1151166&r2=1151167&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/behavior/_DeltaList.java (original)
+++ myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/behavior/_DeltaList.java Tue Jul 26 16:52:46 2011
@@ -165,6 +165,7 @@ class _DeltaList<T> implements List<T>, 
 
     public boolean retainAll(Collection<?> c)
     {
+        clearInitialState();
         return _delegate.retainAll(c);
     }