]> source.dussan.org Git - vaadin-framework.git/commitdiff
removed obsolete null check
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 15 Apr 2011 14:13:23 +0000 (14:13 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 15 Apr 2011 14:13:23 +0000 (14:13 +0000)
svn changeset:18331/svn branch:6.6

src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

index 4a7b5cc43594870e52105a1fe93247d98cdb1e36..79658120ef9508645685e441648118b7cfce1d78 100644 (file)
@@ -5210,12 +5210,10 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
             for (Widget w : scrollBody.renderedRows) {
                 VScrollTableRow row = (VScrollTableRow) w;
                 if (details != null && details.overkey == row.rowKey) {
-                    if (row != null) {
-                        String stylename = ROWSTYLEBASE
-                                + details.dropLocation.toString().toLowerCase();
-                        VScrollTableRow.setStyleName(row.getElement(),
-                                stylename, true);
-                    }
+                    String stylename = ROWSTYLEBASE
+                            + details.dropLocation.toString().toLowerCase();
+                    VScrollTableRow.setStyleName(row.getElement(), stylename,
+                            true);
                     lastEmphasized = details;
                     return;
                 }