Browse Source

Add missing since, remove unused command

tags/8.1.0.alpha1
Teemu Suo-Anttila 7 years ago
parent
commit
7646cfa49b

+ 0
- 17
compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java View File

@@ -1316,23 +1316,6 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
private static final String ERROR_CLASS_NAME = "error";
private static final String NOT_EDITABLE_CLASS_NAME = "not-editable";

ScheduledCommand fieldFocusCommand = new ScheduledCommand() {
private int count = 0;

@Override
public void execute() {
Element focusedElement = WidgetUtil.getFocusedElement();
if (focusedElement == grid.getElement()
|| focusedElement == Document.get().getBody()
|| count > 2) {
focusColumn(focusedColumnIndexDOM);
} else {
++count;
Scheduler.get().scheduleDeferred(this);
}
}
};

/**
* A handler for events related to the Grid editor. Responsible for
* opening, moving or closing the editor based on the received event.

+ 1
- 1
server/src/main/java/com/vaadin/util/EncodeUtil.java View File

@@ -21,7 +21,7 @@ import java.nio.charset.Charset;
* Utilities related to various encoding schemes.
*
* @author Vaadin Ltd
* @since
* @since 7.7.7
*/
public final class EncodeUtil {
private static final Charset UTF8 = Charset.forName("UTF-8");

Loading…
Cancel
Save