myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r698642 - /myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TabGroupRenderer.java
Date Wed, 24 Sep 2008 16:46:16 GMT
Author: bommel
Date: Wed Sep 24 09:46:16 2008
New Revision: 698642

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

Modified:
    myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TabGroupRenderer.java

Modified: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TabGroupRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TabGroupRenderer.java?rev=698642&r1=698641&r2=698642&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TabGroupRenderer.java
(original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TabGroupRenderer.java
Wed Sep 24 09:46:16 2008
@@ -71,7 +71,6 @@
 import java.util.Arrays;
 import java.util.List;
 import java.util.Map;
-import java.util.ArrayList;
 
 public class TabGroupRenderer extends LayoutableRendererBase implements AjaxRenderer {
 
@@ -213,8 +212,8 @@
             tabs.getWidthList().add(RenderUtil.calculateStringWidth2(facesContext, component,
label.getText())
                 + tabLabelExtraWidth);
           } else {
-            tabs.getWidthList().add(RenderUtil.calculateStringWidth2(facesContext, component,
Integer.toString(index + 1))
-                + tabLabelExtraWidth);
+            tabs.getWidthList().add(RenderUtil.calculateStringWidth2(facesContext,
+                component, Integer.toString(index + 1)) + tabLabelExtraWidth);
           }
           if (first) {
             tabs.firstIndex = index;



Mime
View raw message