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/11/20 08:49:34 UTC

svn commit: r596562 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlRendererUtil.java

Author: bommel
Date: Mon Nov 19 23:49:34 2007
New Revision: 596562

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

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlRendererUtil.java

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=596562&r1=596561&r2=596562&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 Mon Nov 19 23:49:34 2007
@@ -586,12 +586,12 @@
           String image = ((org.apache.myfaces.tobago.model.SelectItem) item).getImage();
           if (image != null) {
             String imagePath = ResourceManagerUtil.getImageWithPath(facesContext, image);
-            writer.writeStyleAttribute("background-image=url('" + imagePath+ "')");
+            writer.writeStyleAttribute("background-image=url('" + imagePath + "')");
           }
         }
         if (item instanceof SupportsMarkup) {
           StyleClasses optionStyle = new StyleClasses();
-          optionStyle.addMarkupClass((SupportsMarkup) item, getRendererName(facesContext, component), "option"  );
+          optionStyle.addMarkupClass((SupportsMarkup) item, getRendererName(facesContext, component), "option");
           writer.writeClassAttribute(optionStyle);
         }
         if (RenderUtil.contains(values, item.getValue())) {