myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r983195 - /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
Date Sat, 07 Aug 2010 09:54:43 GMT
Author: bommel
Date: Sat Aug  7 09:54:43 2010
New Revision: 983195

URL: http://svn.apache.org/viewvc?rev=983195&view=rev
Log:
checkstyle

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java?rev=983195&r1=983194&r2=983195&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
Sat Aug  7 09:54:43 2010
@@ -222,7 +222,7 @@ public class ComponentUtils {
 
   public static <T extends UIComponent> T findDescendant(UIComponent component, Class<T>
type) {
 
-    for (UIComponent child : (List<UIComponent>)component.getChildren()) {
+    for (UIComponent child : (List<UIComponent>) component.getChildren()) {
       if (child.getClass().equals(type)) {
         return (T) component;
       }



Mime
View raw message