You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/08/12 15:38:17 UTC

svn commit: r984767 - /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/UICommandBase.java

Author: lofwyr
Date: Thu Aug 12 13:38:17 2010
New Revision: 984767

URL: http://svn.apache.org/viewvc?rev=984767&view=rev
Log:
clean up

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/UICommandBase.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/UICommandBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/UICommandBase.java?rev=984767&r1=984766&r2=984767&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/UICommandBase.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/UICommandBase.java Thu Aug 12 13:38:17 2010
@@ -17,8 +17,6 @@ package org.apache.myfaces.tobago.intern
  * limitations under the License.
  */
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 import org.apache.myfaces.tobago.compat.FacesUtils;
 import org.apache.myfaces.tobago.compat.InvokeOnComponent;
 import org.apache.myfaces.tobago.component.SupportsRenderedPartially;
@@ -29,14 +27,11 @@ import javax.faces.component.UIComponent
 import javax.faces.context.FacesContext;
 import javax.faces.event.FacesEvent;
 import javax.faces.event.PhaseId;
-import java.io.IOException;
 import java.util.Iterator;
 
 public abstract class UICommandBase extends javax.faces.component.UICommand
     implements InvokeOnComponent, SupportsRenderedPartially {
 
-  private static final Logger LOG = LoggerFactory.getLogger(UICommandBase.class);
-
   public static final String COMMAND_TYPE_SUBMIT = "submit";
   public static final String COMMAND_TYPE_RESET = "reset";
   public static final String COMMAND_TYPE_NAVIGATE = "navigate";
@@ -67,13 +62,6 @@ public abstract class UICommandBase exte
     }
   }
 
-  public void encodeChildren(FacesContext facesContext) throws IOException {
-    if (isRendered()) {
-//      UILayoutBase.getLayout(this).encodeChildrenOfComponent(facesContext, this);
-      LOG.error("children are not encoded");
-    }
-  }
-
   public void queueEvent(FacesEvent facesEvent) {
     // fix for TOBAGO-262
     super.queueEvent(facesEvent);