myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r801153 - /myfaces/tobago/trunk/theme/speyside/src/main/java/org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/BoxRenderer.java
Date Wed, 05 Aug 2009 12:02:49 GMT
Author: lofwyr
Date: Wed Aug  5 12:02:49 2009
New Revision: 801153

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

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

Modified: myfaces/tobago/trunk/theme/speyside/src/main/java/org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/BoxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/speyside/src/main/java/org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/BoxRenderer.java?rev=801153&r1=801152&r2=801153&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/speyside/src/main/java/org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/BoxRenderer.java
(original)
+++ myfaces/tobago/trunk/theme/speyside/src/main/java/org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/BoxRenderer.java
Wed Aug  5 12:02:49 2009
@@ -92,7 +92,7 @@
   private void encodeBox(FacesContext facesContext, TobagoResponseWriter writer, UIBox box)
throws IOException {
 
     // shadow begin
-    {
+//    {
       writer.startElement(HtmlConstants.DIV, box);
 
       StyleClasses classes = new StyleClasses();
@@ -105,13 +105,13 @@
       shadow.put("width", box.getWidth().substractNotNegative(new PixelMeasure(1)));
       shadow.put("height", box.getHeight().substractNotNegative(new PixelMeasure(1)));
       writer.writeStyleAttribute(shadow);
-    }
+//    }
 
     // border begin
-    {
+//    {
       writer.startElement(HtmlConstants.DIV, box);
 
-      StyleClasses classes = new StyleClasses();
+      /*StyleClasses*/ classes = new StyleClasses();
       classes.addClass("box", "border");
       writer.writeClassAttribute(classes);
       // XXX should this be done everywhere?
@@ -121,7 +121,7 @@
       border.put("width", box.getWidth().substractNotNegative(new PixelMeasure(3)));
       border.put("height", box.getHeight().substractNotNegative(new PixelMeasure(3)));
       writer.writeStyleAttribute(border);
-    }
+//    }
 
     renderBoxHeader(facesContext, writer, box);
 



Mime
View raw message