diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-10-26 21:19:41 +0200 |
---|---|---|
committer | Pekka Maanpää <pekkamaa@vaadin.com> | 2017-10-26 22:19:41 +0300 |
commit | 01c93a6aef27ef562267d7966c6386ecaa6c1f6b (patch) | |
tree | 438810691e69e7751710917c251c2ba677c969d4 /liferay-integration | |
parent | 10bd7544fd22dccd7e8e32cb236eb50f102892d3 (diff) | |
download | vaadin-framework-01c93a6aef27ef562267d7966c6386ecaa6c1f6b.tar.gz vaadin-framework-01c93a6aef27ef562267d7966c6386ecaa6c1f6b.zip |
Use lambda with Listeners (#10222)
Also use "event" as the name for events
Diffstat (limited to 'liferay-integration')
-rw-r--r-- | liferay-integration/src/main/java/com/vaadin/osgi/liferay/OsgiUIProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liferay-integration/src/main/java/com/vaadin/osgi/liferay/OsgiUIProvider.java b/liferay-integration/src/main/java/com/vaadin/osgi/liferay/OsgiUIProvider.java index ccbb28581f..99d5d9ce58 100644 --- a/liferay-integration/src/main/java/com/vaadin/osgi/liferay/OsgiUIProvider.java +++ b/liferay-integration/src/main/java/com/vaadin/osgi/liferay/OsgiUIProvider.java @@ -72,7 +72,7 @@ public class OsgiUIProvider extends UIProvider { public UI createInstance(UICreateEvent event) { if (prototype) { UI ui = serviceObjects.getService(); - ui.addDetachListener(e -> serviceObjects.ungetService(ui)); + ui.addDetachListener(event2 -> serviceObjects.ungetService(ui)); return ui; } logService.ifPresent(log -> log.log(LogService.LOG_WARNING, |