]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed some issues found in review for #9724
authorJohn Ahlroos <john@vaadin.com>
Mon, 8 Oct 2012 11:34:58 +0000 (14:34 +0300)
committerJohn Ahlroos <john@vaadin.com>
Mon, 8 Oct 2012 11:34:58 +0000 (14:34 +0300)
client/src/com/vaadin/client/ui/table/VScrollTable.java

index 2955a99189622a0194225c9905ff83f5f673fb93..6a171c5b30f8443eec00b9d5ae73d97e801ec1cc 100644 (file)
@@ -2251,9 +2251,6 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
 
             final String ALIGN_PREFIX = primaryStyleName
                     + "-caption-container-align-";
-            captionContainer.removeClassName(ALIGN_PREFIX + "center");
-            captionContainer.removeClassName(ALIGN_PREFIX + "right");
-            captionContainer.removeClassName(ALIGN_PREFIX + "left");
             
             switch (align) {
             case ALIGN_CENTER:
@@ -4515,10 +4512,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
             private final TableRowElement rowElement;
             private int index;
             private Event touchStart;
-            // private static final String ROW_CLASSNAME_EVEN = CLASSNAME +
-            // "-row";
-            // private static final String ROW_CLASSNAME_ODD = CLASSNAME
-            // + "-row-odd";
+
             private static final int TOUCH_CONTEXT_MENU_TIMEOUT = 500;
             private Timer contextTouchTimeout;
             private Timer dragTouchTimeout;