myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r601107 [2/5] - in /myfaces/tobago/trunk: core/src/main/java/org/apache/myfaces/tobago/ core/src/main/java/org/apache/myfaces/tobago/ajax/api/ core/src/main/java/org/apache/myfaces/tobago/application/ core/src/main/java/org/apache/myfaces/t...
Date Tue, 04 Dec 2007 22:12:34 GMT
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java Tue Dec  4 14:12:14 2007
@@ -260,20 +260,20 @@
     String value = null;
     try {
       name = getClientId(facesContext)
-              + SUBCOMPONENT_SEP + "form-clientDimension";
+          + SUBCOMPONENT_SEP + "form-clientDimension";
       value = (String) facesContext.getExternalContext()
-              .getRequestParameterMap().get(name);
-        if (value != null) {
-          StringTokenizer tokenizer = new StringTokenizer(value, ";");
-          int width = Integer.parseInt(tokenizer.nextToken());
-          int height = Integer.parseInt(tokenizer.nextToken());
-          if (pageState != null) {
-            pageState.setClientWidth(width);
-            pageState.setClientHeight(height);
-          }
-          facesContext.getExternalContext().getRequestMap().put("tobago-page-clientDimension-width", width);
-          facesContext.getExternalContext().getRequestMap().put("tobago-page-clientDimension-height", height);
+          .getRequestParameterMap().get(name);
+      if (value != null) {
+        StringTokenizer tokenizer = new StringTokenizer(value, ";");
+        int width = Integer.parseInt(tokenizer.nextToken());
+        int height = Integer.parseInt(tokenizer.nextToken());
+        if (pageState != null) {
+          pageState.setClientWidth(width);
+          pageState.setClientHeight(height);
         }
+        facesContext.getExternalContext().getRequestMap().put("tobago-page-clientDimension-width", width);
+        facesContext.getExternalContext().getRequestMap().put("tobago-page-clientDimension-height", height);
+      }
     } catch (Exception e) {
       LOG.error("Error in decoding state: value='" + value + "'", e);
     }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java Tue Dec  4 14:12:14 2007
@@ -46,11 +46,11 @@
     Object[] values = (Object[]) state;
     super.restoreState(context, values[0]);
     markup = (String[]) values[1];
-   }
+  }
 
   @Override
   public Object saveState(FacesContext context) {
-    Object[] values  = new Object[2];
+    Object[] values = new Object[2];
     values[0] = super.saveState(context);
     values[1] = markup;
     return values;

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanelBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanelBase.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanelBase.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanelBase.java Tue Dec  4 14:12:14 2007
@@ -39,13 +39,13 @@
   }
 
   public void encodeChildren(FacesContext facesContext) throws IOException {
-   if (isRendered()) {
-     UILayout.getLayout(this).encodeChildrenOfComponent(facesContext, this);
-   }
+    if (isRendered()) {
+      UILayout.getLayout(this).encodeChildrenOfComponent(facesContext, this);
+    }
   }
 
   public void encodeAjax(FacesContext facesContext) throws IOException {
-    AjaxUtils.encodeAjaxComponent(facesContext, this);    
+    AjaxUtils.encodeAjaxComponent(facesContext, this);
   }
 
   public void processAjax(FacesContext facesContext) throws IOException {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java Tue Dec  4 14:12:14 2007
@@ -69,7 +69,7 @@
 
   public boolean isRendered() {
     ValueBinding valueBinding = getValueBinding("rendered");
-    if (valueBinding!= null) {
+    if (valueBinding != null) {
       return (Boolean) valueBinding.getValue(getFacesContext());
     } else {
       return isActivated() || isRedisplay();
@@ -110,10 +110,10 @@
         childOrFacet.processValidators(context);
       }
       //TODO: check if validation has faild and reset rendered if needed
-     if (context.getRenderResponse()) {
+      if (context.getRenderResponse()) {
         setActivated(true);
       }
-    }   
+    }
   }
 
   public void processUpdates(FacesContext context) {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIProgress.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIProgress.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIProgress.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIProgress.java Tue Dec  4 14:12:14 2007
@@ -37,11 +37,11 @@
     super.restoreState(context, values[0]);
     markup = (String[]) values[1];
     tip = (String) values[2];
-   }
+  }
 
   @Override
   public Object saveState(FacesContext context) {
-    Object[] values  = new Object[3];
+    Object[] values = new Object[3];
     values[0] = super.saveState(context);
     values[1] = markup;
     values[2] = tip;

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIReload.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIReload.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIReload.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIReload.java Tue Dec  4 14:12:14 2007
@@ -25,8 +25,6 @@
 import javax.faces.el.ValueBinding;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 28.05.2006
  * Time: 21:57:46
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBoolean.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBoolean.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBoolean.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBoolean.java Tue Dec  4 14:12:14 2007
@@ -23,8 +23,6 @@
 import javax.faces.el.ValueBinding;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: Jan 30, 2007
  * Time: 8:16:45 AM
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java Tue Dec  4 14:12:14 2007
@@ -18,8 +18,6 @@
  */
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 31.03.2006
  * Time: 21:16:45
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java Tue Dec  4 14:12:14 2007
@@ -18,12 +18,10 @@
  */
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 31.03.2006
  * Time: 20:58:31
  */
 public class UISelectOneCommand extends UICommand {
 
-   public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SelectOneCommand";
+  public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SelectOneCommand";
 }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java Tue Dec  4 14:12:14 2007
@@ -72,7 +72,7 @@
     this.immediate = immediate;
   }
 
-   public boolean isImmediate() {
+  public boolean isImmediate() {
     if (immediate != null) {
       return immediate;
     }
@@ -85,7 +85,7 @@
   }
 
   public void queueEvent(FacesEvent event) {
-    if (this == event.getSource()) {      
+    if (this == event.getSource()) {
       if (isImmediate()) {
         event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
       } else {
@@ -120,7 +120,7 @@
       UIComponent kid = (UIComponent) o;
       if (kid instanceof UIPanelBase) {
         //if (kid.isRendered()) {
-          tabs.add((UIPanelBase) kid);
+        tabs.add((UIPanelBase) kid);
         //}
       } else {
         LOG.error("Invalid component in UITabGroup: " + kid);
@@ -195,7 +195,7 @@
     if (facesEvent instanceof TabChangeEvent && facesEvent.getComponent() == this) {
       Integer index = ((TabChangeEvent) facesEvent).getNewTabIndex();
       ValueBinding vb = getValueBinding(ATTR_SELECTED_INDEX);
-      if (vb !=null) {
+      if (vb != null) {
         vb.setValue(getFacesContext(), index);
       } else {
         setSelectedIndex(index);
@@ -272,7 +272,7 @@
   }
 
   public int getSelectedIndex() {
-    if (selectedIndex!=null) {
+    if (selectedIndex != null) {
       return selectedIndex;
     }
     ValueBinding vb = getValueBinding(ATTR_SELECTED_INDEX);
@@ -312,7 +312,7 @@
         || SWITCH_TYPE_RELOAD_PAGE.equals(value)
         || SWITCH_TYPE_RELOAD_TAB.equals(value)) {
       return value;
-    } else if (value == null){
+    } else if (value == null) {
       // return default
       return SWITCH_TYPE_CLIENT;
     } else {
@@ -338,7 +338,7 @@
         LOG.error("Invalid component in UITabGroup: " + component);
       }
     }
-    LOG.error("Found no component with index: "+ index + " childCount: " + getChildCount());
+    LOG.error("Found no component with index: " + index + " childCount: " + getChildCount());
     return null;
   }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITimeInput.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITimeInput.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITimeInput.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITimeInput.java Tue Dec  4 14:12:14 2007
@@ -28,8 +28,6 @@
 import java.util.TimeZone;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 10.02.2006
  * Time: 20:50:49
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIToolBar.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIToolBar.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIToolBar.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIToolBar.java Tue Dec  4 14:12:14 2007
@@ -25,8 +25,6 @@
 import javax.faces.context.FacesContext;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 11.02.2006
  * Time: 14:48:46
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java Tue Dec  4 14:12:14 2007
@@ -58,7 +58,6 @@
   private List<UITreeListboxBox> boxes;
 
 
-
   protected String nodeStateId(FacesContext facesContext, UITreeOldNode node) {
     // this must do the same as nodeStateId() in tree.js
     String clientId = node.getClientId(facesContext);
@@ -79,7 +78,7 @@
 
   @SuppressWarnings(value = "unchecked")
   private void fixSelectionType() {
-    final Map  attributes = getAttributes();
+    final Map attributes = getAttributes();
     Object selectable = attributes.get(ATTR_SELECTABLE);
     if ("single".equals(selectable)
         || "singleLeafOnly".equals(selectable)
@@ -169,7 +168,7 @@
   }
 
   private boolean createExpandPath(DefaultMutableTreeNode node,
-                                   Set<DefaultMutableTreeNode> expandState) {
+      Set<DefaultMutableTreeNode> expandState) {
     if (expandState.contains(node)) {
       expandPath.add(findUITreeNode(getRoot(), node));
       for (int i = 0; i < node.getChildCount(); i++) {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/MappingRule.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/MappingRule.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/MappingRule.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/MappingRule.java Tue Dec  4 14:12:14 2007
@@ -20,7 +20,9 @@
 import java.util.ArrayList;
 import java.util.List;
 
-/** @deprecated please use other template mechanism, like JSP-Tag Files or any other */
+/**
+ * @deprecated please use other template mechanism, like JSP-Tag Files or any other
+ */
 @Deprecated
 public class MappingRule {
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/TobagoConfigParser.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/TobagoConfigParser.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/TobagoConfigParser.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/TobagoConfigParser.java Tue Dec  4 14:12:14 2007
@@ -87,12 +87,12 @@
     digester.addCallMethod("tobago-config/ajax-enabled", "setAjaxEnabled", 0);
     digester.addObjectCreate("tobago-config/renderers", RenderersConfigImpl.class);
     digester.addSetNext("tobago-config/renderers", "setRenderersConfig");
-    digester.addObjectCreate("tobago-config/renderers/renderer",  RendererConfig.class);
+    digester.addObjectCreate("tobago-config/renderers/renderer", RendererConfig.class);
     digester.addSetNext("tobago-config/renderers/renderer", "addRenderer");
     digester.addCallMethod("tobago-config/renderers/renderer/name", "setName", 0);
-    digester.addObjectCreate("tobago-config/renderers/renderer/supported-markup",  MarkupConfig.class);
+    digester.addObjectCreate("tobago-config/renderers/renderer/supported-markup", MarkupConfig.class);
     digester.addSetNext("tobago-config/renderers/renderer/supported-markup", "setMarkupConfig");
-    digester.addCallMethod("tobago-config/renderers/renderer/supported-markup/markup", "addMarkup" , 0);
+    digester.addCallMethod("tobago-config/renderers/renderer/supported-markup/markup", "addMarkup", 0);
 
     return digester;
   }
@@ -109,8 +109,8 @@
       if (input != null) {
         digester.parse(input);
       } else {
-          throw new FacesException(
-              "No config file found: '" + configPath + "'. Tobago can't run without configuration.");
+        throw new FacesException(
+            "No config file found: '" + configPath + "'. Tobago can't run without configuration.");
       }
     } finally {
       IOUtils.closeQuietly(input);
@@ -132,7 +132,7 @@
     } else {
       LOG.warn(
           "unable to retrieve local DTD '" + TOBAGO_CONFIG_DTD
-          + "'; trying external URL");
+              + "'; trying external URL");
     }
   }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/FacesContextFactoryWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/FacesContextFactoryWrapper.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/FacesContextFactoryWrapper.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/FacesContextFactoryWrapper.java Tue Dec  4 14:12:14 2007
@@ -35,7 +35,7 @@
 
   public FacesContext getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle)
       throws FacesException {
-   return facesContextFactory.getFacesContext(context, request, response, lifecycle);
+    return facesContextFactory.getFacesContext(context, request, response, lifecycle);
   }
 
   public final FacesContextFactory getFacesContextFactory() {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/MarkupConfig.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/MarkupConfig.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/MarkupConfig.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/MarkupConfig.java Tue Dec  4 14:12:14 2007
@@ -22,8 +22,6 @@
 import java.io.Serializable;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: Sep 24, 2006
  * Time: 10:09:35 PM
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RendererConfig.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RendererConfig.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RendererConfig.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RendererConfig.java Tue Dec  4 14:12:14 2007
@@ -21,8 +21,6 @@
 import java.util.Locale;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: Sep 25, 2006
  * Time: 10:54:19 AM
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RenderersConfigImpl.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RenderersConfigImpl.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RenderersConfigImpl.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RenderersConfigImpl.java Tue Dec  4 14:12:14 2007
@@ -47,7 +47,7 @@
     this.merged = merged;
   }
 
-  public Collection<RendererConfig>  getRendererConfigs() {
+  public Collection<RendererConfig> getRendererConfigs() {
     return renderer.values();
   }
 
@@ -63,13 +63,13 @@
 
   public boolean isMarkupSupported(String rendererName, String markup) {
     if (LOG.isDebugEnabled()) {
-      LOG.debug("calling isMarkupSupported " + rendererName + " " +markup);
+      LOG.debug("calling isMarkupSupported " + rendererName + " " + markup);
     }
     RendererConfig rendererConfig = renderer.get(rendererName);
     if (rendererConfig != null) {
       return rendererConfig.contains(markup);
     } else {
-      LOG.error("Calling isMarkupSupported " + rendererName + " " +markup + " but no configuration found.");
+      LOG.error("Calling isMarkupSupported " + rendererName + " " + markup + " but no configuration found.");
       return false;
     }
   }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java Tue Dec  4 14:12:14 2007
@@ -82,7 +82,7 @@
     Set<String> resourcePaths = servletContext.getResourcePaths(path);
     if (resourcePaths == null || resourcePaths.isEmpty()) {
       LOG.info("ResourcePath empty! Please check the tobago-config.xml file!"
-            + " path='" + path + "'");
+          + " path='" + path + "'");
       return;
     }
     for (String childPath : resourcePaths) {
@@ -100,7 +100,7 @@
           InputStream inputStream = servletContext.getResourceAsStream(childPath);
           try {
             addProperties(inputStream, resources, childPath, false);
-          } finally{
+          } finally {
             IOUtils.closeQuietly(inputStream);
           }
         } else if (childPath.endsWith(".properties.xml")) {
@@ -110,7 +110,7 @@
           } catch (RuntimeException e) {
             LOG.error("childPath = \"" + childPath + "\" ", e);
             throw e;
-          } finally{
+          } finally {
             IOUtils.closeQuietly(inputStream);
           }
         } else {
@@ -144,7 +144,7 @@
           addResources(resources, themeUrl, prefix);
         } else {
           LOG.warn("Unknown protocol '" + themeUrl + "'");
-          addResources(resources,  themeUrl, prefix);
+          addResources(resources, themeUrl, prefix);
         }
       }
     } catch (IOException e) {
@@ -185,7 +185,7 @@
       try {
         jarFile = new URL(fileName);
       } catch (MalformedURLException e) {
-      // workaround for weblogic on windows
+        // workaround for weblogic on windows
         jarFile = new URL("file:" + fileName);
       }
       InputStream stream = null;
@@ -206,16 +206,16 @@
       } finally {
         IOUtils.closeQuietly(stream);
         IOUtils.closeQuietly(zipStream);
-     }
+      }
     }
   }
 
   private void resolveTheme(ResourceManagerImpl resources, File directoryFile,
       String resourcePath, String prefix, boolean inResourcePath) throws ServletException {
     File[] files = directoryFile.listFiles();
-    for (File file: files) {
+    for (File file : files) {
       if (file.isDirectory()) {
-        String currentResourcePath = resourcePath + File.separator  + file.getName();
+        String currentResourcePath = resourcePath + File.separator + file.getName();
         if (!inResourcePath && currentResourcePath.startsWith(prefix)) {
           inResourcePath = true;
         }
@@ -233,13 +233,13 @@
       throws ServletException {
 
     if (name.endsWith(".class")) {
-        // ignore the class files
+      // ignore the class files
     } else if (name.endsWith(".properties")) {
       LOG.info("** " + name.substring(1));
       InputStream inputStream = Thread.currentThread().getContextClassLoader().getResourceAsStream(name.substring(1));
       try {
         addProperties(inputStream, resources, name, false);
-      } finally{
+      } finally {
         IOUtils.closeQuietly(inputStream);
       }
     } else if (name.endsWith(".properties.xml")) {
@@ -247,7 +247,7 @@
       InputStream inputStream = Thread.currentThread().getContextClassLoader().getResourceAsStream(name.substring(1));
       try {
         addProperties(inputStream, resources, name, true);
-      } finally{
+      } finally {
         IOUtils.closeQuietly(inputStream);
       }
     } else {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceManagerUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceManagerUtil.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceManagerUtil.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceManagerUtil.java Tue Dec  4 14:12:14 2007
@@ -58,7 +58,7 @@
   }
 
   public static String getBlankPage(FacesContext context) {
-    return  context.getExternalContext().getRequestContextPath()
+    return context.getExternalContext().getRequestContextPath()
         + "/org/apache/myfaces/tobago/renderkit/html/standard/blank.html";
   }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeImpl.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeImpl.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeImpl.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeImpl.java Tue Dec  4 14:12:14 2007
@@ -119,7 +119,7 @@
       renderersConfig = new RenderersConfigImpl();
     }
     if (!renderersConfig.isMerged()) {
-      ThemeImpl fallback  = getFallback();
+      ThemeImpl fallback = getFallback();
       if (fallback != null) {
         fallback.resolveRendererConfig(rendererConfigFromTobagoConfig);
         RenderersConfigImpl fallbackRenderersConfig = fallback.getRenderersConfigImpl();
@@ -135,7 +135,7 @@
       }
       renderersConfig.setMerged(true);
       if (LOG.isDebugEnabled()) {
-        LOG.debug(getName() + " " +renderersConfig);
+        LOG.debug(getName() + " " + renderersConfig);
       }
     }
   }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeParser.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeParser.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeParser.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeParser.java Tue Dec  4 14:12:14 2007
@@ -56,12 +56,12 @@
     digester.addCallMethod("tobago-theme/fallback", "setFallbackName", 0);
     digester.addObjectCreate("tobago-theme/renderers", RenderersConfigImpl.class);
     digester.addSetNext("tobago-theme/renderers", "setRenderersConfig");
-    digester.addObjectCreate("tobago-theme/renderers/renderer",  RendererConfig.class);
+    digester.addObjectCreate("tobago-theme/renderers/renderer", RendererConfig.class);
     digester.addSetNext("tobago-theme/renderers/renderer", "addRenderer");
     digester.addCallMethod("tobago-theme/renderers/renderer/name", "setName", 0);
-    digester.addObjectCreate("tobago-theme/renderers/renderer/supported-markup",  MarkupConfig.class);
+    digester.addObjectCreate("tobago-theme/renderers/renderer/supported-markup", MarkupConfig.class);
     digester.addSetNext("tobago-theme/renderers/renderer/supported-markup", "setMarkupConfig");
-    digester.addCallMethod("tobago-theme/renderers/renderer/supported-markup/markup", "addMarkup" , 0);
+    digester.addCallMethod("tobago-theme/renderers/renderer/supported-markup/markup", "addMarkup", 0);
   }
 
   public ThemeImpl parse(final URL url)

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/TransientStateHolder.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/TransientStateHolder.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/TransientStateHolder.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/TransientStateHolder.java Tue Dec  4 14:12:14 2007
@@ -40,7 +40,7 @@
   }
 
   public Object saveState(FacesContext context) {
-     // do nothing
+    // do nothing
     return null;
   }
 
@@ -65,7 +65,7 @@
   }
 
   public void setTransient(boolean newTransientValue) {
-     // do nothing
+    // do nothing
   }
 
 }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/DurationConverter.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/DurationConverter.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/DurationConverter.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/DurationConverter.java Tue Dec  4 14:12:14 2007
@@ -31,7 +31,7 @@
 import java.util.List;
 import java.util.StringTokenizer;
 
-@org.apache.myfaces.tobago.apt.annotation.Converter(id=DurationConverter.CONVERTER_ID)
+@org.apache.myfaces.tobago.apt.annotation.Converter(id = DurationConverter.CONVERTER_ID)
 public class DurationConverter implements Converter {
 
   private static final Log LOG = LogFactory.getLog(DurationConverter.class);

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/LocaleConverter.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/LocaleConverter.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/LocaleConverter.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/LocaleConverter.java Tue Dec  4 14:12:14 2007
@@ -24,6 +24,7 @@
 import javax.faces.convert.Converter;
 import javax.faces.convert.ConverterException;
 import java.util.Locale;
+
 @org.apache.myfaces.tobago.apt.annotation.Converter(forClass = "java.util.Locale")
 public class LocaleConverter implements Converter {
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/ConstantMethodBinding.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/ConstantMethodBinding.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/ConstantMethodBinding.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/ConstantMethodBinding.java Tue Dec  4 14:12:14 2007
@@ -45,7 +45,7 @@
     return outcome;
   }
 
-  public Class getType(FacesContext facesContext){
+  public Class getType(FacesContext facesContext) {
     return String.class;
   }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/UserVariableResolverImpl.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/UserVariableResolverImpl.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/UserVariableResolverImpl.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/UserVariableResolverImpl.java Tue Dec  4 14:12:14 2007
@@ -25,7 +25,7 @@
 import javax.faces.el.VariableResolver;
 
 /**
- * @deprecated use UserWrapper as managed bean in request scope instead. 
+ * @deprecated use UserWrapper as managed bean in request scope instead.
  */
 @Deprecated
 public class UserVariableResolverImpl extends VariableResolver {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/DatePickerController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/DatePickerController.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/DatePickerController.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/DatePickerController.java Tue Dec  4 14:12:14 2007
@@ -87,7 +87,7 @@
           int popupTop = ComponentUtil.getIntAttribute(
               popup, ATTR_TOP, -1);
 
-          final Map<String, String>  attributes = popup.getAttributes();
+          final Map<String, String> attributes = popup.getAttributes();
           if (popupWidth == -1) {
             popupWidth = ThemeConfig.getValue(
                 facesContext, popup, "CalendarPopupWidth");

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageAction.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageAction.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageAction.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageAction.java Tue Dec  4 14:12:14 2007
@@ -22,32 +22,32 @@
   /**
    * First page is requested
    */
-  FIRST ("First"),
+  FIRST("First"),
 
   /**
    * Next page is requested
    */
-  NEXT ("Next"),
+  NEXT("Next"),
 
   /**
    * Previous page is requested
    */
-  PREV ("Prev"),
+  PREV("Prev"),
 
   /**
    * Last page is requested
    */
-  LAST ("Last"),
+  LAST("Last"),
 
   /**
    * A specified row is requested
    */
-  TO_ROW ("ToRow"),
+  TO_ROW("ToRow"),
 
   /**
    * A specified page is requested
    */
-  TO_PAGE ("ToPage");
+  TO_PAGE("ToPage");
 
   private String token;
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionEvent.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionEvent.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionEvent.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionEvent.java Tue Dec  4 14:12:14 2007
@@ -53,9 +53,9 @@
     return value;
   }
 
- /**
-  * Convenience method to get the UIData Component.
-  */
+  /**
+   * Convenience method to get the UIData Component.
+   */
   public UIData getSheet() {
     return (UIData) getComponent();
   }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionUtil.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionUtil.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionUtil.java Tue Dec  4 14:12:14 2007
@@ -21,8 +21,6 @@
 import java.util.HashMap;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 24.04.2006
  * Time: 21:13:06
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java Tue Dec  4 14:12:14 2007
@@ -28,8 +28,6 @@
 import java.io.Serializable;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: Dec 23, 2006
  * Time: 10:59:53 AM
  */
@@ -45,14 +43,14 @@
   public PopupActionListener(String popupId) {
     this.popupId = popupId;
     if (LOG.isDebugEnabled()) {
-      LOG.debug("Add ActionListener: "+  popupId);
+      LOG.debug("Add ActionListener: " + popupId);
     }
   }
 
   public PopupActionListener(UIPopup popup) {
-    this.popupId = ":"+popup.getClientId(FacesContext.getCurrentInstance());
+    this.popupId = ":" + popup.getClientId(FacesContext.getCurrentInstance());
     if (LOG.isDebugEnabled()) {
-      LOG.debug("Add ActionListener: "+popupId);
+      LOG.debug("Add ActionListener: " + popupId);
     }
   }
 
@@ -66,7 +64,7 @@
       }
       popup.setActivated(true);
     } else {
-      LOG.error("Found no popup for " +popupId);
+      LOG.error("Found no popup for " + popupId);
     }
   }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeListener.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeListener.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeListener.java Tue Dec  4 14:12:14 2007
@@ -20,8 +20,6 @@
 import javax.faces.event.FacesListener;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 18.12.2005
  * Time: 14:13:38
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeSource.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeSource.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeSource.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeSource.java Tue Dec  4 14:12:14 2007
@@ -18,8 +18,6 @@
  */
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 18.12.2005
  * Time: 13:56:59
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionEvent.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionEvent.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionEvent.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionEvent.java Tue Dec  4 14:12:14 2007
@@ -45,7 +45,7 @@
   }
 
   /**
-   * Convenience method to get the UIData Component. 
+   * Convenience method to get the UIData Component.
    */
   public UIData getSheet() {
     return (UIData) getComponent();

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionSource.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionSource.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionSource.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionSource.java Tue Dec  4 14:12:14 2007
@@ -18,8 +18,6 @@
  */
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 14.04.2006
  * Time: 10:42:38
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeListenerValueBindingDelegate.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeListenerValueBindingDelegate.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeListenerValueBindingDelegate.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeListenerValueBindingDelegate.java Tue Dec  4 14:12:14 2007
@@ -26,8 +26,6 @@
 import javax.faces.el.ValueBinding;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: Jan 9, 2007
  * Time: 8:08:01 PM
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeSource.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeSource.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeSource.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeSource.java Tue Dec  4 14:12:14 2007
@@ -18,8 +18,6 @@
  */
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 22.12.2005
  * Time: 23:01:03
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/ApplyRequestValuesExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/ApplyRequestValuesExecutor.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/ApplyRequestValuesExecutor.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/ApplyRequestValuesExecutor.java Tue Dec  4 14:12:14 2007
@@ -36,7 +36,7 @@
 
 /**
  * Implements the lifecycle as described in Spec. 1.0 PFD Chapter 2
- *
+ * <p/>
  * Apply request values phase (JSF Spec 2.2.2)
  */
 class ApplyRequestValuesExecutor implements PhaseExecutor {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/InvokeApplicationExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/InvokeApplicationExecutor.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/InvokeApplicationExecutor.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/InvokeApplicationExecutor.java Tue Dec  4 14:12:14 2007
@@ -22,7 +22,7 @@
 
 /**
  * Implements the lifecycle as described in Spec. 1.0 PFD Chapter 2
- *
+ * <p/>
  * Invoke application phase (JSF Spec 2.2.5)
  */
 class InvokeApplicationExecutor implements PhaseExecutor {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseExecutor.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseExecutor.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseExecutor.java Tue Dec  4 14:12:14 2007
@@ -29,13 +29,15 @@
    * Executes a phase of the JavaServer(tm) Faces lifecycle, like UpdateModelValues.
    * The <code>execute</code> method is called by the lifecylce implementation's private
    * <code>executePhase</code>.
-   * @param facesContext The <code>FacesContext</code> for the current request we are processing 
+   *
+   * @param facesContext The <code>FacesContext</code> for the current request we are processing
    * @return <code>true</code> if execution should be stopped
    */
   boolean execute(FacesContext facesContext);
 
   /**
-   * Returns the <code>PhaseId</code> for which the implemented executor is invoked 
+   * Returns the <code>PhaseId</code> for which the implemented executor is invoked
+   *
    * @return
    */
   PhaseId getPhase();

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseListenerManager.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseListenerManager.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseListenerManager.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseListenerManager.java Tue Dec  4 14:12:14 2007
@@ -24,11 +24,12 @@
 import javax.faces.event.PhaseId;
 import javax.faces.event.PhaseListener;
 import javax.faces.lifecycle.Lifecycle;
+
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
 /**
- * This class encapsulates the logic used to call PhaseListeners.  It was 
+ * This class encapsulates the logic used to call PhaseListeners.  It was
  * needed because of issue 9 of the JSF 1.2 spec.  See section 11.3 for more
  * details.
  */
@@ -45,7 +46,9 @@
   // an exception should not have its afterPhase called
   private Map<PhaseId, boolean[]> listenerSuccessMap = new HashMap<PhaseId, boolean[]>();
 
-  /** Creates a new instance of PhaseListenerManager */
+  /**
+   * Creates a new instance of PhaseListenerManager
+   */
   PhaseListenerManager(Lifecycle lifecycle, FacesContext facesContext, PhaseListener[] phaseListeners) {
     this.lifecycle = lifecycle;
     this.facesContext = facesContext;
@@ -80,7 +83,7 @@
   void informPhaseListenersAfter(PhaseId phaseId) {
     boolean[] beforePhaseSuccess = listenerSuccessMap.get(phaseId);
 
-    for (int i = phaseListeners.length - 1; i >= 0; i--)  {
+    for (int i = phaseListeners.length - 1; i >= 0; i--) {
       PhaseListener phaseListener = phaseListeners[i];
       if (isListenerForThisPhase(phaseListener, phaseId)
           && beforePhaseSuccess[i]) {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RenderResponseExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RenderResponseExecutor.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RenderResponseExecutor.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RenderResponseExecutor.java Tue Dec  4 14:12:14 2007
@@ -29,7 +29,7 @@
 
 /**
  * Implements the lifecycle as described in Spec. 1.0 PFD Chapter 2
- *
+ * <p/>
  * render response phase (JSF Spec 2.2.6)
  */
 class RenderResponseExecutor implements PhaseExecutor {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RestoreViewExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RestoreViewExecutor.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RestoreViewExecutor.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RestoreViewExecutor.java Tue Dec  4 14:12:14 2007
@@ -46,7 +46,7 @@
 
 /**
  * Implements the lifecycle as described in Spec. 1.0 PFD Chapter 2
- *
+ * <p/>
  * Restore view phase (JSF Spec 2.2.1)
  */
 class RestoreViewExecutor implements PhaseExecutor {
@@ -74,7 +74,7 @@
       return true;
     }
 
-    if(facesContext.getViewRoot() != null) {
+    if (facesContext.getViewRoot() != null) {
       facesContext.getViewRoot().setLocale(facesContext.getExternalContext().getRequestLocale());
       ComponentUtil.resetPage(facesContext);
       recursivelyHandleComponentReferencesAndSetValid(facesContext, facesContext.getViewRoot());
@@ -86,7 +86,7 @@
 
     if (viewId == null) {
 
-      if(externalContext.getRequestServletPath() == null) {
+      if (externalContext.getRequestServletPath() == null) {
         return true;
       }
 
@@ -172,18 +172,15 @@
     return viewId;
   }
 
-
-
   // next two methods are taken from 'org.apache.myfaces.shared.util.RestoreStateUtils'
 
   public static void recursivelyHandleComponentReferencesAndSetValid(FacesContext facesContext,
-                                                                     UIComponent parent)
-  {
+      UIComponent parent) {
     boolean forceHandle = false;
 
     Method handleBindingsMethod = getBindingMethod(parent);
 
-    if(handleBindingsMethod!=null && !forceHandle) {
+    if (handleBindingsMethod != null && !forceHandle) {
       try {
         handleBindingsMethod.invoke(parent, new Object[]{});
       } catch (Throwable th) {
@@ -208,7 +205,8 @@
     }
   }
 
-  /**This is all a hack to work around a spec-bug which will be fixed in JSF2.0
+  /**
+   * This is all a hack to work around a spec-bug which will be fixed in JSF2.0
    *
    * @param parent
    * @return true if this component is bindingAware (e.g. aliasBean)

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycle.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycle.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycle.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycle.java Tue Dec  4 14:12:14 2007
@@ -54,7 +54,7 @@
 
   public TobagoLifecycle() {
     // hide from public access
-    lifecycleExecutors = new PhaseExecutor[] {
+    lifecycleExecutors = new PhaseExecutor[]{
         new RestoreViewExecutor(),
         new ApplyRequestValuesExecutor(),
         new ProcessValidationsExecutor(),
@@ -76,7 +76,7 @@
   }
 
   private boolean executePhase(FacesContext facesContext, PhaseExecutor executor,
-                               PhaseListenerManager phaseListenerMgr)
+      PhaseListenerManager phaseListenerMgr)
       throws FacesException {
 
     boolean skipFurtherProcessing = false;
@@ -91,15 +91,15 @@
     try {
       phaseListenerMgr.informPhaseListenersBefore(executor.getPhase());
 
-      if(isResponseComplete(facesContext, executor.getPhase(), true)) {
+      if (isResponseComplete(facesContext, executor.getPhase(), true)) {
         // have to return right away
         return true;
       }
-      if(shouldRenderResponse(facesContext, executor.getPhase(), true)) {
+      if (shouldRenderResponse(facesContext, executor.getPhase(), true)) {
         skipFurtherProcessing = true;
       }
 
-      if(executor.execute(facesContext)) {
+      if (executor.execute(facesContext)) {
         return true;
       }
     } finally {
@@ -122,7 +122,7 @@
 
   public void render(FacesContext facesContext) throws FacesException {
     // if the response is complete we should not be invoking the phase listeners
-    if(isResponseComplete(facesContext, renderExecutor.getPhase(), true)) {
+    if (isResponseComplete(facesContext, renderExecutor.getPhase(), true)) {
       return;
     }
     if (LOG.isTraceEnabled()) {
@@ -134,7 +134,7 @@
     try {
       phaseListenerMgr.informPhaseListenersBefore(renderExecutor.getPhase());
       // also possible that one of the listeners completed the response
-      if(isResponseComplete(facesContext, renderExecutor.getPhase(), true)) {
+      if (isResponseComplete(facesContext, renderExecutor.getPhase(), true)) {
         return;
       }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycleFactory.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycleFactory.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycleFactory.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycleFactory.java Tue Dec  4 14:12:14 2007
@@ -29,7 +29,7 @@
   private static final Log LOG = LogFactory.getLog(TobagoLifecycleFactory.class);
 
   private LifecycleFactory factory;
-  private TobagoLifecycle  defaultLifecycle;
+  private TobagoLifecycle defaultLifecycle;
 
   public TobagoLifecycleFactory(LifecycleFactory factory) {
     this.factory = factory;
@@ -48,7 +48,7 @@
       return defaultLifecycle;
     } else {
       LOG.info("getLifecycle(\"" + lifecycleId + "\")  -> other Lifecycle");
-      return  factory.getLifecycle(lifecycleId);
+      return factory.getLifecycle(lifecycleId);
     }
   }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/DateModel.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/DateModel.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/DateModel.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/DateModel.java Tue Dec  4 14:12:14 2007
@@ -69,7 +69,7 @@
   public Calendar getCalendar(Locale locale) {
     Calendar calendar = locale != null
         ? Calendar.getInstance(locale) : Calendar.getInstance();
-    calendar.set(year, month-1, day);
+    calendar.set(year, month - 1, day);
     return calendar;
   }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/PageState.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/PageState.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/PageState.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/PageState.java Tue Dec  4 14:12:14 2007
@@ -20,7 +20,10 @@
 public interface PageState {
 
   int getClientWidth();
+
   void setClientWidth(int width);
+
   int getClientHeight();
+
   void setClientHeight(int height);
 }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SelectItem.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SelectItem.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SelectItem.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SelectItem.java Tue Dec  4 14:12:14 2007
@@ -62,12 +62,12 @@
   }
 
   public SelectItem(Object value, String label, String description,
-                    boolean disabled, String image) {
+      boolean disabled, String image) {
     this(value, label, description, disabled, image, null);
   }
 
   public SelectItem(Object value, String label, String description,
-                    boolean disabled, String image, String[] markup) {
+      boolean disabled, String image, String[] markup) {
     super(value, label, description, disabled);
     this.image = image;
     this.markup = markup;

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SheetState.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SheetState.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SheetState.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SheetState.java Tue Dec  4 14:12:14 2007
@@ -35,7 +35,7 @@
   public static final String SEPARATOR = ",";
 
   private int first = -1;
-  private String  sortedColumnId;
+  private String sortedColumnId;
   private boolean ascending;
   private String columnWidths;
   private List<Integer> selectedRows;
@@ -44,7 +44,6 @@
   public SheetState() {
     resetSelected();
   }
-
 
 
   public void resetSelected() {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SortableByApplication.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SortableByApplication.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SortableByApplication.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SortableByApplication.java Tue Dec  4 14:12:14 2007
@@ -25,5 +25,5 @@
 public interface SortableByApplication {
 
   void sortBy(String sortMethod);
-  
+
 }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java Tue Dec  4 14:12:14 2007
@@ -84,7 +84,9 @@
     }
   }
 
-  /** Expands all parents which contains selected children. */
+  /**
+   * Expands all parents which contains selected children.
+   */
   public void expandSelection() {
     for (DefaultMutableTreeNode treeNode : selection) {
       expandTo(treeNode);
@@ -92,7 +94,7 @@
   }
 
   public void expandTo(DefaultMutableTreeNode node) {
-    node = (DefaultMutableTreeNode) node.getParent(); 
+    node = (DefaultMutableTreeNode) node.getParent();
     while (node != null) {
       if (!expandState.contains(node)) {
         expandState.add(node);
@@ -160,7 +162,7 @@
   public void setScrollPosition(Integer[] scrollPosition) {
     this.scrollPosition = scrollPosition;
   }
-  
+
   public static Integer[] parseScrollPosition(String value) {
     Integer[] position = null;
     if (!StringUtils.isBlank(value)) {
@@ -176,6 +178,6 @@
     }
     return position;
   }
-  
+
 }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/HtmlUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/HtmlUtils.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/HtmlUtils.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/HtmlUtils.java Tue Dec  4 14:12:14 2007
@@ -45,7 +45,7 @@
       String appendValue) {
     Object attribute = component.getAttributes().get(name);
     return attribute != null
-        ? attribute.toString() + " " + appendValue : appendValue;    
+        ? attribute.toString() + " " + appendValue : appendValue;
   }
 
   public static String generateOnchange(UIInput component,

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LabelWithAccessKey.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LabelWithAccessKey.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LabelWithAccessKey.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LabelWithAccessKey.java Tue Dec  4 14:12:14 2007
@@ -57,12 +57,12 @@
           + "label='" + label + "'.");
       text = label.substring(0, label.length() - 1);
       pos = -1;
-    } else if (label.charAt(index+1) == INDICATOR) {
+    } else if (label.charAt(index + 1) == INDICATOR) {
       escapedIndicatorCount++;
-      findIndicator(label, index+2, escapedIndicatorCount);
+      findIndicator(label, index + 2, escapedIndicatorCount);
     } else {
       text = label.substring(0, index)
-            + label.substring(index + 1);
+          + label.substring(index + 1);
       accessKey = text.charAt(index);
       pos = index - escapedIndicatorCount;
     }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutManager.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutManager.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutManager.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutManager.java Tue Dec  4 14:12:14 2007
@@ -31,9 +31,9 @@
  */
 public interface LayoutManager {
 
- /**
-  * @deprecated
-  */
+  /**
+   * @deprecated
+   */
   void layoutBegin(FacesContext facesContext, UIComponent component);
 
 }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutRenderer.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutRenderer.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutRenderer.java Tue Dec  4 14:12:14 2007
@@ -50,9 +50,9 @@
   public int getFixedHeight(FacesContext facesContext, UIComponent component) {
     int height = 0;
 
-    if (LOG.isInfoEnabled() &&  component.getChildCount() > 1) {
+    if (LOG.isInfoEnabled() && component.getChildCount() > 1) {
       LOG.info("Can't calculate fixedHeight! "
-                 + "using estimation by contained components. ");
+          + "using estimation by contained components. ");
     }
     height += LayoutUtil.calculateFixedHeightForChildren(facesContext, component);
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutableRendererBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutableRendererBase.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutableRendererBase.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutableRendererBase.java Tue Dec  4 14:12:14 2007
@@ -87,9 +87,11 @@
   public int getFixedWidth(FacesContext facesContext, UIComponent component) {
     return getFixedSpace(facesContext, component, true);
   }
+
   public int getFixedHeight(FacesContext facesContext, UIComponent component) {
     return getFixedSpace(facesContext, component, false);
   }
+
   public int getFixedSpace(FacesContext facesContext, UIComponent component, boolean width) {
 
     int fixedSpace = 0;
@@ -119,7 +121,7 @@
   }
 
   private int getFixedSpace(FacesContext facesContext, UIComponent component,
-                            String attr, String attrFixed) {
+      String attr, String attrFixed) {
     int intSpace = -1;
     String space = null;
     if (component != null) {
@@ -141,13 +143,13 @@
 
   protected void checkForCommandFacet(UIComponent component, FacesContext facesContext, TobagoResponseWriter writer)
       throws IOException {
-    checkForCommandFacet(component, Arrays.asList(component.getClientId(facesContext)) , facesContext, writer);
+    checkForCommandFacet(component, Arrays.asList(component.getClientId(facesContext)), facesContext, writer);
   }
 
   protected void checkForCommandFacet(UIComponent component, List<String> clientIds, FacesContext facesContext,
       TobagoResponseWriter writer) throws IOException {
     Map<String, UIComponent> facets = component.getFacets();
-    for (Map.Entry<String, UIComponent> entry: facets.entrySet()) {
+    for (Map.Entry<String, UIComponent> entry : facets.entrySet()) {
       if (entry.getValue() instanceof UICommand) {
         addCommandFacet(clientIds, entry, facesContext, writer);
       }
@@ -158,7 +160,7 @@
   private void addCommandFacet(List<String> clientIds, Map.Entry<String, UIComponent> facetEntry,
       FacesContext facesContext, TobagoResponseWriter writer) throws
       IOException {
-    for (String clientId: clientIds) {
+    for (String clientId : clientIds) {
       writeScriptForClientId(clientId, facetEntry, facesContext, writer);
     }
   }
@@ -168,13 +170,13 @@
     if (facetEntry.getValue() instanceof UICommand
         && ((UICommand) facetEntry.getValue()).getRenderedPartially().length > 0) {
       String script =
-          "var element = Tobago.element(\"" + clientId  + "\");\n"
+          "var element = Tobago.element(\"" + clientId + "\");\n"
               + "if (element) {\n"
               + "   Tobago.addEventListener(element, \"" + facetEntry.getKey()
               + "\", function(){Tobago.reloadComponent('"
-              + HtmlRendererUtil.getComponentId(facesContext, facetEntry.getValue(), 
+              + HtmlRendererUtil.getComponentId(facesContext, facetEntry.getValue(),
               ((UICommand) facetEntry.getValue()).getRenderedPartially()[0]) + "','"
-              + facetEntry.getValue().getClientId(facesContext)  + "', {})});\n"
+              + facetEntry.getValue().getClientId(facesContext) + "', {})});\n"
               + "}";
       writer.writeJavascript(script);
     } else {
@@ -184,7 +186,7 @@
         facetAction = "Tobago.submitAction('" + facetComponent.getClientId(facesContext) + "')";
       }
       String script =
-          "var element = Tobago.element(\"" + clientId  + "\");\n"
+          "var element = Tobago.element(\"" + clientId + "\");\n"
               + "if (element) {\n"
               + "   Tobago.addEventListener(element, \"" + facetEntry.getKey() + "\", function(){"
               + facetAction + "});\n}";

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RenderUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RenderUtil.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RenderUtil.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RenderUtil.java Tue Dec  4 14:12:14 2007
@@ -88,7 +88,6 @@
   }
 
 
-
   public static String addMenuCheckToggle(String clientId, String onClick) {
     if (onClick != null) {
       onClick = " ; " + onClick;
@@ -102,12 +101,12 @@
   }
 
   public static String getFormattedValue(
-      FacesContext facesContext, UIComponent component){
+      FacesContext facesContext, UIComponent component) {
     Object value = null;
     if (component instanceof ValueHolder) {
       value = ((ValueHolder) component).getLocalValue();
       if (value == null) {
-        value =  ((ValueHolder) component).getValue();
+        value = ((ValueHolder) component).getValue();
       }
     }
     return getFormattedValue(facesContext, component, value);

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java Tue Dec  4 14:12:14 2007
@@ -33,8 +33,6 @@
 import java.util.Locale;
 
 /**
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: Apr 21, 2007
  * Time: 8:04:25 PM
  */
@@ -56,10 +54,10 @@
     if (LOG.isDebugEnabled()) {
       LOG.debug("rendererType = '" + rendererType + "'");
     }
-   /* if ("javax.faces.Text".equals(rendererType)) { // TODO: find a better way
-      name = RENDERER_TYPE_OUT;
-    } else {*/
-      name = rendererType;
+    /* if ("javax.faces.Text".equals(rendererType)) { // TODO: find a better way
+    name = RENDERER_TYPE_OUT;
+  } else {*/
+    name = rendererType;
     /*}
     if (name.startsWith("javax.faces.")) { // FIXME: this is a hotfix from jsf1.0beta to jsf1.0fr
       LOG.warn("patching renderer from " + name);
@@ -93,7 +91,7 @@
     String currentValue = null;
     Object currentObj = getValue(component);
     if (currentObj != null) {
-      currentValue   = RenderUtil.getFormattedValue(facesContext, component, currentObj);
+      currentValue = RenderUtil.getFormattedValue(facesContext, component, currentObj);
     }
     return currentValue;
   }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SelectManyRendererBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SelectManyRendererBase.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SelectManyRendererBase.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SelectManyRendererBase.java Tue Dec  4 14:12:14 2007
@@ -45,7 +45,7 @@
       UISelectMany uiSelectMany = (UISelectMany) component;
 
       String[] newValues = (String[])
-        facesContext.getExternalContext().getRequestParameterValuesMap().get(uiSelectMany.getClientId(facesContext));
+          facesContext.getExternalContext().getRequestParameterValuesMap().get(uiSelectMany.getClientId(facesContext));
       if (LOG.isDebugEnabled()) {
         LOG.debug("decode: key='" + component.getClientId(facesContext)
             + "' value='" + Arrays.toString(newValues) + "'");
@@ -148,7 +148,7 @@
       // ...but have no idea of expected type
       // --> so let's convert it to an Object array
       int len = submittedValue.length;
-      Object [] convertedValues = (Object []) Array.newInstance(
+      Object[] convertedValues = (Object[]) Array.newInstance(
           arrayComponentType == null ? Object.class : arrayComponentType, len);
       for (int i = 0; i < len; i++) {
         convertedValues[i]

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetRendererWorkaround.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetRendererWorkaround.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetRendererWorkaround.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetRendererWorkaround.java Tue Dec  4 14:12:14 2007
@@ -23,7 +23,9 @@
 import javax.faces.context.FacesContext;
 
 // FIXME: this is only a workaround to separate the theme from the core
-/** @deprecated */
+/**
+ * @deprecated
+ */
 public interface SheetRendererWorkaround {
 
   boolean needVerticalScrollbar(FacesContext facesContext, UIData data);

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetUtils.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetUtils.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetUtils.java Tue Dec  4 14:12:14 2007
@@ -31,8 +31,6 @@
 import java.util.Map;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 24.04.2006
  * Time: 22:02:49
  */
@@ -40,6 +38,7 @@
 //TODO move this back in the decode or SheetCommandRenderer
 public class SheetUtils {
   private static final Log LOG = LogFactory.getLog(SheetUtils.class);
+
   public static void decode(FacesContext facesContext, UIComponent component) {
     String actionId = ComponentUtil.findPage(facesContext, component).getActionId();
     String clientId = component.getClientId(facesContext);
@@ -62,7 +61,7 @@
       }
       PageActionEvent event = new PageActionEvent((UIData) component.getParent(), action);
 
-      switch(action) {
+      switch (action) {
         case TO_PAGE:
         case TO_ROW:
           Map map = facesContext.getExternalContext().getRequestParameterMap();

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java Tue Dec  4 14:12:14 2007
@@ -67,7 +67,7 @@
 
     if (renderer == null) {
       RenderKitFactory rkFactory = (RenderKitFactory)
-      FactoryFinder.getFactory(FactoryFinder.RENDER_KIT_FACTORY);
+          FactoryFinder.getFactory(FactoryFinder.RENDER_KIT_FACTORY);
       RenderKit renderKit = rkFactory.getRenderKit(facesContext, RenderKitFactory.HTML_BASIC_RENDER_KIT);
       renderer = renderKit.getRenderer(family, rendererType);
       if (renderer != null) {
@@ -104,7 +104,6 @@
     return new TobagoResponseWriterImpl(writer, contentType, characterEncoding);
   }
 
-
 // ///////////////////////////////////////////// TODO
 
   @Override
@@ -118,7 +117,7 @@
     }
     LOG.error(
         "This method isn't implemented yet, and should not be called: "
-        + new Exception().getStackTrace()[0].getMethodName()); //FIXME jsf1.0
+            + new Exception().getStackTrace()[0].getMethodName()); //FIXME jsf1.0
   }
 
   @Override
@@ -130,7 +129,7 @@
   public ResponseStream createResponseStream(OutputStream outputstream) {
     LOG.error(
         "This method isn't implemented yet, and should not be called: "
-        + new Exception().getStackTrace()[0].getMethodName()); //FIXME jsfbeta
+            + new Exception().getStackTrace()[0].getMethodName()); //FIXME jsfbeta
     return null;
   }
 }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoResponseStateManager.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoResponseStateManager.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoResponseStateManager.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoResponseStateManager.java Tue Dec  4 14:12:14 2007
@@ -30,8 +30,6 @@
 import java.io.IOException;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: 21.05.2006
  * Time: 10:59:19
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java Tue Dec  4 14:12:14 2007
@@ -98,7 +98,7 @@
       } else if (command.getAttributes().get(ATTR_ACTION_ONCLICK) != null) {
         onclick = prepareOnClick(facesContext, command);
       } else if (command instanceof org.apache.myfaces.tobago.component.UICommand
-          &&  ((org.apache.myfaces.tobago.component.UICommand) command).getRenderedPartially().length > 0) {
+          && ((org.apache.myfaces.tobago.component.UICommand) command).getRenderedPartially().length > 0) {
 
         String[] componentId = ((org.apache.myfaces.tobago.component.UICommand) command).getRenderedPartially();
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlAttributes.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlAttributes.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlAttributes.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlAttributes.java Tue Dec  4 14:12:14 2007
@@ -18,8 +18,6 @@
  */
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: Sep 23, 2006
  * Time: 10:01:48 AM
  */

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlRendererUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlRendererUtil.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlRendererUtil.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlRendererUtil.java Tue Dec  4 14:12:14 2007
@@ -126,7 +126,7 @@
     final String rendererType = component.getRendererType();
     //final String family = component.getFamily();
     if (rendererType != null//&& !"facelets".equals(family)
-       ) {
+        ) {
       LayoutableRendererBase layoutableRendererBase = ComponentUtil.getRenderer(facesContext, component);
       if (layoutableRendererBase != null) {
         return layoutableRendererBase.getRendererName(rendererType);
@@ -471,7 +471,9 @@
     }
   }
 
-  /** @deprecated use TobagoResponseWriter.writeJavascript() */
+  /**
+   * @deprecated use TobagoResponseWriter.writeJavascript()
+   */
   @Deprecated
   public static void writeJavascript(ResponseWriter writer, String script) throws IOException {
     startJavascript(writer);
@@ -479,7 +481,9 @@
     endJavascript(writer);
   }
 
-  /** @deprecated use TobagoResponseWriter.writeJavascript() */
+  /**
+   * @deprecated use TobagoResponseWriter.writeJavascript()
+   */
   @Deprecated
   public static void startJavascript(ResponseWriter writer) throws IOException {
     writer.startElement(HtmlConstants.SCRIPT, null);
@@ -487,7 +491,9 @@
     writer.write("\n<!--\n");
   }
 
-  /** @deprecated use TobagoResponseWriter.writeJavascript() */
+  /**
+   * @deprecated use TobagoResponseWriter.writeJavascript()
+   */
   @Deprecated
   public static void endJavascript(ResponseWriter writer) throws IOException {
     writer.write("\n// -->\n");
@@ -610,7 +616,7 @@
     UIComponent partiallyComponent = ComponentUtil.findComponent(component, componentId);
     if (partiallyComponent != null) {
       String clientId = partiallyComponent.getClientId(context);
-      if (partiallyComponent instanceof UIData)  {
+      if (partiallyComponent instanceof UIData) {
         int rowIndex = ((UIData) partiallyComponent).getRowIndex();
         if (rowIndex >= 0 && clientId.endsWith(Integer.toString(rowIndex))) {
           return clientId.substring(0, clientId.lastIndexOf(NamingContainer.SEPARATOR_CHAR));

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java Tue Dec  4 14:12:14 2007
@@ -24,8 +24,6 @@
 import java.util.Map;
 
 /*
- * Created by IntelliJ IDEA.
- * User: bommel
  * Date: Nov 24, 2006
  * Time: 10:07:33 PM
  */
@@ -59,7 +57,7 @@
 
   public String toString() {
     StringBuilder buf = new StringBuilder();
-    for(Map.Entry<String, Object> style :entrySet()) {
+    for (Map.Entry<String, Object> style : entrySet()) {
       buf.append(style.getKey());
       buf.append(":");
       buf.append(style.getValue());

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/StyleClasses.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/StyleClasses.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/StyleClasses.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/StyleClasses.java Tue Dec  4 14:12:14 2007
@@ -140,7 +140,7 @@
   }
 
   public void addMarkupClass(SupportsMarkup supportsMarkup, String rendererName, String sub) {
-    for (String markup: supportsMarkup.getMarkup()) {
+    for (String markup : supportsMarkup.getMarkup()) {
       if (!StringUtils.isBlank(markup)) {
         Theme theme = ClientProperties.getInstance(FacesContext.getCurrentInstance().getViewRoot()).getTheme();
         if (theme.getRenderersConfig().isMarkupSupported(rendererName, markup)) {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java Tue Dec  4 14:12:14 2007
@@ -67,7 +67,7 @@
     String outcome = invokeApplication(facesContext);
 
     if (facesContext.getResponseComplete()) {
-        return;
+      return;
     }
     if (LOG.isDebugEnabled()) {
       LOG.debug("outcome = '" + outcome + "'");
@@ -79,8 +79,10 @@
 
   public abstract String invokeApplication(FacesContext facesContext);
 
-  /** will be called to initilize the first ViewRoot,
-   * may be overwritten by extended classes */
+  /**
+   * will be called to initilize the first ViewRoot,
+   * may be overwritten by extended classes
+   */
   public String getFromViewId() {
     return "";
   }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java Tue Dec  4 14:12:14 2007
@@ -47,7 +47,7 @@
  *   &lt;servlet-name&gt;ResourceServlet&lt;/servlet-name&gt;
  *   &lt;url-pattern&gt;/org/apache/myfaces/tobago/renderkit/*&lt;/url-pattern&gt;
  * &lt;/servlet-mapping&gt;
- *</pre><p>
+ * </pre><p>
  *
  * @since 1.0.7
  *        <p/>



Mime
View raw message