summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-11 15:53:39 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-11 15:54:23 +0300
commit501977762dee21abb14822e5d38f2260a056175e (patch)
treeee79a64ed52c924112b658be7f41838a5139edbe /uitest
parentc46f51809a368d3905aeedf0f2a7cef010dc211f (diff)
downloadvaadin-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.java4
-rw-r--r--uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java4
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) {