diff options
Diffstat (limited to 'liferay-integration/src/main/java/com/vaadin/osgi')
-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, |