summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-15 14:13:23 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-15 14:13:23 +0000
commitf06d1167ba98d466445eedf364e9edbef570b284 (patch)
tree770e9f38a5f917870ea58a55ab3b6ef84d07f263 /src/com
parent6439fe631aad8ac12eb7d81fe583a5a67a6e03ee (diff)
downloadvaadin-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.java10
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;
}