diff options
author | Zhe Sun <31067185+ZheSun88@users.noreply.github.com> | 2019-06-27 16:31:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-27 16:31:25 +0300 |
commit | ae296b155a06b2de848316eb36c69f7eec320c48 (patch) | |
tree | eab33b9697c5673c361eaa0cae6271276700027b | |
parent | dc207bb85b2acb85a3e953f193e2f6e8eb6a414f (diff) | |
download | vaadin-framework-ae296b155a06b2de848316eb36c69f7eec320c48.tar.gz vaadin-framework-ae296b155a06b2de848316eb36c69f7eec320c48.zip |
Removed ';' in lambdas (#11628)
* Removed ';' in lambdas
credits to @voltor
* Merge branch 'master' into ZheSun88-patch-1
-rw-r--r-- | documentation/advanced/advanced-dragndrop.asciidoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/advanced/advanced-dragndrop.asciidoc b/documentation/advanced/advanced-dragndrop.asciidoc index 7ccd1c7bae..4aaa0586d0 100644 --- a/documentation/advanced/advanced-dragndrop.asciidoc +++ b/documentation/advanced/advanced-dragndrop.asciidoc @@ -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 |