Ver código fonte

Removed ';' in lambdas (#11628)

* Removed ';' in lambdas

credits to @voltor

* Merge branch 'master' into ZheSun88-patch-1
tags/8.9.0.alpha1
Zhe Sun 4 anos atrás
pai
commit
ae296b155a
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4
    4
      documentation/advanced/advanced-dragndrop.asciidoc

+ 4
- 4
documentation/advanced/advanced-dragndrop.asciidoc Ver arquivo

@@ -51,7 +51,7 @@ The [classname]#DragStartEvent# is fired when the drag has started, and the [cla
[source, java]
----
dragSource.addDragStartListener(event ->
Notification.show("Drag event started");
Notification.show("Drag event started")
);
dragSource.addDragEndListener(event -> {
if (event.isCanceled()) {
@@ -69,11 +69,11 @@ It is possible to transfer any Object as server side data to the drop target if
[source, java]
----
dragSource.addDragStartListener(event ->
dragSource.setDragData(myObject);
dragSource.setDragData(myObject)
);
dragSource.addDragEndListener(event ->
dragSource.setDragData(null);
};
dragSource.setDragData(null)
);
----

=== CSS Style Rules

Carregando…
Cancelar
Salvar