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 2016/01/28 15:26:48 UTC

svn commit: r1727365 - /myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/CommandRenderer.java

Author: lofwyr
Date: Thu Jan 28 14:26:48 2016
New Revision: 1727365

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

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/CommandRenderer.java

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/CommandRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/CommandRenderer.java?rev=1727365&r1=1727364&r2=1727365&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/CommandRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/CommandRenderer.java Thu Jan 28 14:26:48 2016
@@ -160,7 +160,7 @@ public class CommandRenderer extends Com
       for (UIComponent child : component.getChildren()) {
         if (child.isRendered()) {
           writer.startElement(HtmlElements.LI);
-          CssItem submenu = child instanceof AbstractUICommand &&((AbstractUICommand)child).isParentOfCommands()
+          CssItem submenu = child instanceof AbstractUICommand && ((AbstractUICommand) child).isParentOfCommands()
               ? TobagoClass.DROPDOWN_SUBMENU : null;
           // fixme: this name comes not from bootstrap, using prefix? tobago-command-dropdown-submenu
           writer.writeClassAttribute(BootstrapClass.DROPDOWN_ITEM, submenu);