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/06/09 20:40:16 UTC

svn commit: r953110 - in /myfaces/tobago/trunk: tobago-core/src/main/java/org/apache/myfaces/tobago/component/ tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/ tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myface...

Author: lofwyr
Date: Wed Jun  9 18:40:16 2010
New Revision: 953110

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

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIData.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java
    myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIData.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIData.java?rev=953110&r1=953109&r2=953110&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIData.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIData.java Wed Jun  9 18:40:16 2010
@@ -25,14 +25,16 @@ import org.apache.myfaces.tobago.event.S
  */
 public interface UIData extends SortActionSource2, SupportsMarkup, SortActionSource {
 
+  int getRowIndex();
+
   /**
    * @deprecated
    */
-  public static final int DEFAULT_DIRECT_LINK_COUNT = 9;
+  int DEFAULT_DIRECT_LINK_COUNT = 9;
 
   /**
    * @deprecated
    */
-  public static final int DEFAULT_ROW_COUNT = 100;
+  int DEFAULT_ROW_COUNT = 100;
 
 }

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java?rev=953110&r1=953109&r2=953110&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java Wed Jun  9 18:40:16 2010
@@ -530,7 +530,7 @@ public abstract class AbstractUISheet ex
     List<LayoutComponent> result = new ArrayList<LayoutComponent>();
     for (UIComponent column : getChildren()) {
       if (column instanceof AbstractUIColumnSelector) {
-        result.add(null);// XXX UIColumnSelector is currently not an instance of LayoutComponent
+        result.add(null); // XXX UIColumnSelector is currently not an instance of LayoutComponent
       } else if (column instanceof UIColumn) {
         for (UIComponent component : column.getChildren()) {
           if (component instanceof LayoutComponent) {

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java?rev=953110&r1=953109&r2=953110&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java Wed Jun  9 18:40:16 2010
@@ -338,7 +338,8 @@ public abstract class ToolBarRendererBas
     if (isRightAligned(toolBar)) { // overrides the default in the CSS file.
       itemStyle.setLeft(resources.getThemeMeasure(facesContext, toolBar, "css.border-right-width"));
     }
-    itemStyle.setWidth(dropDownMenu != null ? buttonStyle.getWidth().add(menuStyle.getWidth()) : buttonStyle.getWidth());
+    itemStyle.setWidth(
+        dropDownMenu != null ? buttonStyle.getWidth().add(menuStyle.getWidth()) : buttonStyle.getWidth());
     itemStyle.setHeight(buttonStyle.getHeight());
 
     // change values when only have one button