diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-04-15 14:13:23 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-04-15 14:13:23 +0000 |
commit | f06d1167ba98d466445eedf364e9edbef570b284 (patch) | |
tree | 770e9f38a5f917870ea58a55ab3b6ef84d07f263 /src/com | |
parent | 6439fe631aad8ac12eb7d81fe583a5a67a6e03ee (diff) | |
download | vaadin-framework-f06d1167ba98d466445eedf364e9edbef570b284.tar.gz vaadin-framework-f06d1167ba98d466445eedf364e9edbef570b284.zip |
removed obsolete null check
svn changeset:18331/svn branch:6.6
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java | 10 |
1 files changed, 4 insertions, 6 deletions
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; } |