Browse Source

removed obsolete null check

svn changeset:18331/svn branch:6.6
tags/6.7.0.beta1
Matti Tahvonen 13 years ago
parent
commit
f06d1167ba
1 changed files with 4 additions and 6 deletions
  1. 4
    6
      src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

+ 4
- 6
src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java View 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;
}

Loading…
Cancel
Save