You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/01/06 11:37:25 UTC
svn commit: r493442 -
/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TabGroupRenderer.java
Author: bommel
Date: Sat Jan 6 02:37:24 2007
New Revision: 493442
URL: http://svn.apache.org/viewvc?view=rev&rev=493442
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?view=diff&rev=493442&r1=493441&r2=493442
==============================================================================
--- 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 Sat Jan 6 02:37:24 2007
@@ -134,7 +134,7 @@
// selected with stylesheet.
int virtualTab = 0;
//UIPanel[] tabs = component.getTabs();
- for (UIComponent tab: (List<UIComponent>)component.getChildren()) {
+ for (UIComponent tab: (List<UIComponent>) component.getChildren()) {
if (tab instanceof UIPanel) {
if (tab.isRendered() && (SWITCH_TYPE_CLIENT.equals(switchType) || virtualTab == activeIndex)) {
@@ -174,7 +174,7 @@
int activeIndex = tabGroup.getActiveIndex();
// ensure to select a rendered tab
int index = 0;
- for (UIComponent tab: (List<UIComponent>)tabGroup.getChildren()) {
+ for (UIComponent tab: (List<UIComponent>) tabGroup.getChildren()) {
if (tab instanceof UIPanel) {
if (tab.isRendered()) {
if (activeIndex == index) {
@@ -219,7 +219,7 @@
UIPanel activeTab = null;
int index = 0;
- for (UIComponent tab: (List<UIComponent>)component.getChildren()) {
+ for (UIComponent tab: (List<UIComponent>) component.getChildren()) {
if (tab instanceof UIPanel) {
if (tab.isRendered()) {
String onclick;
@@ -352,7 +352,7 @@
fixedHeight = height;
} else {
fixedHeight = 0;
- for (UIComponent tab: (List<UIComponent>)component.getChildren()) {
+ for (UIComponent tab: (List<UIComponent>) component.getChildren()) {
if (tab instanceof UIPanel && tab.isRendered()) {
RendererBase renderer = ComponentUtil.getRenderer(facesContext, tab);
fixedHeight
@@ -371,7 +371,7 @@
Object layoutHeight =
component.getAttributes().get(ATTR_LAYOUT_HEIGHT);
- for (UIComponent tab: (List<UIComponent>)component.getChildren()) {
+ for (UIComponent tab: (List<UIComponent>) component.getChildren()) {
if (tab instanceof UIPanel && tab.isRendered()) {
if (layoutWidth != null) {
HtmlRendererUtil.layoutSpace(facesContext, tab, true);