summaryrefslogtreecommitdiffstats
path: root/test/cdi
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/cdi
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/cdi')
-rw-r--r--test/cdi/src/main/java/com/vaadin/test/cdi/MyVaadinUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cdi/src/main/java/com/vaadin/test/cdi/MyVaadinUI.java b/test/cdi/src/main/java/com/vaadin/test/cdi/MyVaadinUI.java
index 58b479b2b1..ba0398845c 100644
--- a/test/cdi/src/main/java/com/vaadin/test/cdi/MyVaadinUI.java
+++ b/test/cdi/src/main/java/com/vaadin/test/cdi/MyVaadinUI.java
@@ -20,7 +20,7 @@ public class MyVaadinUI extends UI {
@Override
protected void init(VaadinRequest request) {
setContent(new Button("Click Me",
- e -> Notification.show(service.getText())));
+ event -> Notification.show(service.getText())));
}
}