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

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

index 79658120ef9508645685e441648118b7cfce1d78..3458058ed7833645c711fcef49eb204234885869 100644 (file)
@@ -5186,13 +5186,11 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
                 VScrollTableRow row = (VScrollTableRow) w;
                 if (lastEmphasized != null
                         && row.rowKey == lastEmphasized.overkey) {
-                    if (row != null) {
-                        String stylename = ROWSTYLEBASE
-                                + lastEmphasized.dropLocation.toString()
-                                        .toLowerCase();
-                        VScrollTableRow.setStyleName(row.getElement(),
-                                stylename, false);
-                    }
+                    String stylename = ROWSTYLEBASE
+                            + lastEmphasized.dropLocation.toString()
+                                    .toLowerCase();
+                    VScrollTableRow.setStyleName(row.getElement(), stylename,
+                            false);
                     lastEmphasized = null;
                     return;
                 }