From 501977762dee21abb14822e5d38f2260a056175e Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Tue, 11 Sep 2012 15:53:39 +0300 Subject: Tweak UIProvider API based on review (#9443) --- uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java | 4 ++-- .../minitutorials/v7a1/DifferentFeaturesForDifferentClients.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'uitest') diff --git a/uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java b/uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java index cfcf0e1996..f8f7a16c4d 100644 --- a/uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java +++ b/uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java @@ -20,8 +20,8 @@ public class LazyInitUIs extends AbstractTestUIProvider { } @Override - public UI createInstance(Class type, - WrappedRequest request) { + public UI createInstance(WrappedRequest request, + Class type) { return getUI(request); } diff --git a/uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java b/uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java index 5a8d8a8ea1..821660e9e6 100644 --- a/uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java +++ b/uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java @@ -45,8 +45,8 @@ public class DifferentFeaturesForDifferentClients extends AbstractUIProvider { // Must override as default implementation isn't allowed to // instantiate our non-public classes @Override - public UI createInstance(Class type, - WrappedRequest request) { + public UI createInstance(WrappedRequest request, + Class type) { try { return type.newInstance(); } catch (Exception e) { -- cgit v1.2.3