myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r633087 - /myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/application/jsp/JspStateManagerImpl.java
Date Mon, 03 Mar 2008 13:58:21 GMT
Author: lu4242
Date: Mon Mar  3 05:58:18 2008
New Revision: 633087

URL: http://svn.apache.org/viewvc?rev=633087&view=rev
Log:
fixes MYFACES-1825 duplicate ids not detected in JspStateManagerImpl.checkForDuplicateIds()

Modified:
    myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/application/jsp/JspStateManagerImpl.java

Modified: myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/application/jsp/JspStateManagerImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/application/jsp/JspStateManagerImpl.java?rev=633087&r1=633086&r2=633087&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/application/jsp/JspStateManagerImpl.java
(original)
+++ myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/application/jsp/JspStateManagerImpl.java
Mon Mar  3 05:58:18 2008
@@ -370,10 +370,10 @@
                                             getPathToComponent(component));
         }
         Iterator it = component.getFacetsAndChildren();
-        boolean namingContainer = component instanceof NamingContainer;
         while (it.hasNext())
         {
             UIComponent kid = (UIComponent) it.next();
+            boolean namingContainer = kid instanceof NamingContainer;
             if (namingContainer)
             {
                 checkForDuplicateIds(context, kid, new HashSet<String>());



Mime
View raw message