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 2014/10/25 02:05:14 UTC
svn commit: r1634168 -
/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentSupport.java
Author: lu4242
Date: Sat Oct 25 00:05:14 2014
New Revision: 1634168
URL: http://svn.apache.org/r1634168
Log:
fix duplicate method
Modified:
myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentSupport.java
Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentSupport.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentSupport.java?rev=1634168&r1=1634167&r2=1634168&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentSupport.java (original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentSupport.java Sat Oct 25 00:05:14 2014
@@ -342,22 +342,6 @@ public final class ComponentSupport
return null;
}
- public static UIComponent findChildInChildrenByTagId(UIComponent parent, String id)
- {
- if (parent.getChildCount() > 0)
- {
- for (int i = 0, childCount = parent.getChildCount(); i < childCount; i ++)
- {
- UIComponent child = parent.getChildren().get(i);
- if (id.equals(child.getAttributes().get(MARK_CREATED)))
- {
- return child;
- }
- }
- }
- return null;
- }
-
public static String findChildInFacetsByTagId(UIComponent parent, String id)
{
Iterator<Map.Entry<String, UIComponent>> itr = null;