From: Matti Tahvonen Date: Fri, 15 Apr 2011 14:13:23 +0000 (+0000) Subject: removed obsolete null check X-Git-Tag: 6.7.0.beta1~333 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f06d1167ba98d466445eedf364e9edbef570b284;p=vaadin-framework.git removed obsolete null check svn changeset:18331/svn branch:6.6 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java index 4a7b5cc435..79658120ef 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java @@ -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; }