diff options
Diffstat (limited to 'server/src/com/vaadin/LegacyApplication.java')
-rw-r--r-- | server/src/com/vaadin/LegacyApplication.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/com/vaadin/LegacyApplication.java b/server/src/com/vaadin/LegacyApplication.java index a1aeb037fd..ca9b196ff1 100644 --- a/server/src/com/vaadin/LegacyApplication.java +++ b/server/src/com/vaadin/LegacyApplication.java @@ -100,24 +100,24 @@ public abstract class LegacyApplication extends AbstractUIProvider implements } @Override - public UI createInstance(Class<? extends UI> type, WrappedRequest request) { + public UI createInstance(WrappedRequest request, Class<? extends UI> type) { return getUIInstance(request); } @Override - public String getThemeForUI(WrappedRequest request, + public String getTheme(WrappedRequest request, Class<? extends UI> uiClass) { return theme; } @Override - public String getPageTitleForUI(WrappedRequest request, + public String getPageTitle(WrappedRequest request, Class<? extends UI> uiClass) { UI uiInstance = getUIInstance(request); if (uiInstance != null) { return uiInstance.getCaption(); } else { - return super.getPageTitleForUI(request, uiClass); + return super.getPageTitle(request, uiClass); } } |