diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-11 15:53:39 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-11 15:54:23 +0300 |
commit | 501977762dee21abb14822e5d38f2260a056175e (patch) | |
tree | ee79a64ed52c924112b658be7f41838a5139edbe /uitest | |
parent | c46f51809a368d3905aeedf0f2a7cef010dc211f (diff) | |
download | vaadin-framework-501977762dee21abb14822e5d38f2260a056175e.tar.gz vaadin-framework-501977762dee21abb14822e5d38f2260a056175e.zip |
Tweak UIProvider API based on review (#9443)
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java | 4 | ||||
-rw-r--r-- | uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java | 4 |
2 files changed, 4 insertions, 4 deletions
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<? extends UI> type, - WrappedRequest request) { + public UI createInstance(WrappedRequest request, + Class<? extends UI> 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<? extends UI> type, - WrappedRequest request) { + public UI createInstance(WrappedRequest request, + Class<? extends UI> type) { try { return type.newInstance(); } catch (Exception e) { |