Author: gvanmatre
Date: Sat Feb  4 07:31:40 2006
New Revision: 374882

URL: http://svn.apache.org/viewcvs?rev=374882&view=rev
Log:
Corrected indentation and unused import. 

Modified:
    
struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java
    
struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java

Modified: 
struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java?rev=374882&r1=374881&r2=374882&view=diff
==============================================================================
--- 
struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java
 (original)
+++ 
struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java
 Sat Feb  4 07:31:40 2006
@@ -373,17 +373,17 @@
             Iterator ci = child.getChildren().iterator();
             while (ci.hasNext()) {
                 UIComponent c = (UIComponent) ci.next();
-                               if (c.isRendered()) {
-                                       c.encodeBegin(context);
-                                       
-                                       if (!c.getRendersChildren())
-                                               recursiveRenderChildren(c, 
context);
-                                       else
-                                               c.encodeChildren(context);
-                                       
-                                       c.encodeEnd(context);
-                                       c = null;
-                               }
+                if (c.isRendered()) {
+                    c.encodeBegin(context);
+                    
+                    if (!c.getRendersChildren())
+                        recursiveRenderChildren(c, context);
+                    else
+                        c.encodeChildren(context);
+                    
+                    c.encodeEnd(context);
+                    c = null;
+                }
             }
         } else {
             // let the component handle iterating over the children

Modified: 
struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java?rev=374882&r1=374881&r2=374882&view=diff
==============================================================================
--- 
struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java
 (original)
+++ 
struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java
 Sat Feb  4 07:31:40 2006
@@ -21,7 +21,6 @@
 import javax.faces.component.ActionSource;
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
-import javax.faces.webapp.UIComponentTag;
 
 import org.apache.commons.chain.Command;
 import org.apache.commons.chain.Context;



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to