aboutsummaryrefslogtreecommitdiffstats
path: root/test/spring-boot-subcontext
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-10-26 21:19:41 +0200
committerPekka Maanpää <pekkamaa@vaadin.com>2017-10-26 22:19:41 +0300
commit01c93a6aef27ef562267d7966c6386ecaa6c1f6b (patch)
tree438810691e69e7751710917c251c2ba677c969d4 /test/spring-boot-subcontext
parent10bd7544fd22dccd7e8e32cb236eb50f102892d3 (diff)
downloadvaadin-framework-01c93a6aef27ef562267d7966c6386ecaa6c1f6b.tar.gz
vaadin-framework-01c93a6aef27ef562267d7966c6386ecaa6c1f6b.zip
Use lambda with Listeners (#10222)
Also use "event" as the name for events
Diffstat (limited to 'test/spring-boot-subcontext')
-rw-r--r--test/spring-boot-subcontext/src/main/java/com/example/view/DefaultView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spring-boot-subcontext/src/main/java/com/example/view/DefaultView.java b/test/spring-boot-subcontext/src/main/java/com/example/view/DefaultView.java
index 7fe9572e3e..26bb843854 100644
--- a/test/spring-boot-subcontext/src/main/java/com/example/view/DefaultView.java
+++ b/test/spring-boot-subcontext/src/main/java/com/example/view/DefaultView.java
@@ -23,7 +23,7 @@ public class DefaultView extends VerticalLayout implements View {
void init() {
setId("default-view");
Button button = new Button("Click Me!",
- e -> Notification.show(service.getText()));
+ event -> Notification.show(service.getText()));
addComponent(button);
}