From 790b9cbada28b972f3c1dabc0ebe65d4af380e58 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Tue, 10 May 2016 15:54:22 +0300 Subject: Fix UIProvider backwards compatibility with AppWidgetset Change-Id: Ia3171f4398caa9824f9b511da6576baa7b40be07 --- all/src/main/templates/release-notes.html | 2 +- .../java/com/vaadin/server/BootstrapHandler.java | 2 +- .../main/java/com/vaadin/server/UIProvider.java | 34 ++++++++++++++++++---- 3 files changed, 30 insertions(+), 8 deletions(-) diff --git a/all/src/main/templates/release-notes.html b/all/src/main/templates/release-notes.html index 6c522ef4d6..77cce634f4 100644 --- a/all/src/main/templates/release-notes.html +++ b/all/src/main/templates/release-notes.html @@ -112,7 +112,7 @@

Known Issues and Limitations

* - * Note that the return type of this method changed in Vaadin 7.7. + * @since 7.7 * * @param event * the UI create event with information about the UI and the * current request. - * @return the name of the widgetset, or null if the default - * widgetset should be used - * - * @since 7.7 + * @return the widgetset info, or null if the default widgetset + * should be used */ - public WidgetsetInfo getWidgetset(UICreateEvent event) { + public WidgetsetInfo getWidgetsetInfo(UICreateEvent event) { Widgetset uiWidgetset = getAnnotationFor(event.getUIClass(), Widgetset.class); -- cgit v1.2.3