aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/vaadincontext/BootstrapModifyUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/main/java/com/vaadin/tests/vaadincontext/BootstrapModifyUI.java')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/vaadincontext/BootstrapModifyUI.java15
1 files changed, 6 insertions, 9 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/vaadincontext/BootstrapModifyUI.java b/uitest/src/main/java/com/vaadin/tests/vaadincontext/BootstrapModifyUI.java
index 1e00412466..b5db41c761 100644
--- a/uitest/src/main/java/com/vaadin/tests/vaadincontext/BootstrapModifyUI.java
+++ b/uitest/src/main/java/com/vaadin/tests/vaadincontext/BootstrapModifyUI.java
@@ -36,15 +36,12 @@ public class BootstrapModifyUI extends AbstractReindeerTestUI {
@Override
protected void setup(VaadinRequest request) {
Button c = new Button("Add bootstrap listener",
- new Button.ClickListener() {
- @Override
- public void buttonClick(ClickEvent event) {
- getSession().addBootstrapListener(
- createBootstrapListener());
- event.getButton().setEnabled(false);
- getSession().setAttribute(INSTALLED_ATRIBUTE_NAME,
- Boolean.TRUE);
- }
+ event->{
+ getSession().addBootstrapListener(
+ createBootstrapListener());
+ event.getButton().setEnabled(false);
+ getSession().setAttribute(INSTALLED_ATRIBUTE_NAME,
+ Boolean.TRUE);
});
addComponent(c);
c.setEnabled(