summaryrefslogtreecommitdiffstats
path: root/server/src/com
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-03 16:57:09 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-03 16:57:09 +0300
commitad7de55aec35414086a500e6f234b17827bd52a3 (patch)
tree3ab1434661ee4dbb7c5f48ff7cb762984d6edae1 /server/src/com
parent727dc542346f12704d327708a78b185cd06f0e1d (diff)
downloadvaadin-framework-ad7de55aec35414086a500e6f234b17827bd52a3.tar.gz
vaadin-framework-ad7de55aec35414086a500e6f234b17827bd52a3.zip
Rename UIProvider.instantiateUI -> createInstance (#8159)
Diffstat (limited to 'server/src/com')
-rw-r--r--server/src/com/vaadin/Application.java2
-rw-r--r--server/src/com/vaadin/server/AbstractUIProvider.java2
-rw-r--r--server/src/com/vaadin/server/UIProvider.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/src/com/vaadin/Application.java b/server/src/com/vaadin/Application.java
index f368257ecd..7af5852512 100644
--- a/server/src/com/vaadin/Application.java
+++ b/server/src/com/vaadin/Application.java
@@ -1649,7 +1649,7 @@ public class Application implements Terminal.ErrorListener, Serializable {
// class
continue;
}
- return uiClass.cast(provider.instantiateUI(this, uiClass,
+ return uiClass.cast(provider.createInstance(this, uiClass,
request));
}
}
diff --git a/server/src/com/vaadin/server/AbstractUIProvider.java b/server/src/com/vaadin/server/AbstractUIProvider.java
index f383368d91..59ce31891d 100644
--- a/server/src/com/vaadin/server/AbstractUIProvider.java
+++ b/server/src/com/vaadin/server/AbstractUIProvider.java
@@ -22,7 +22,7 @@ import com.vaadin.ui.UI;
public abstract class AbstractUIProvider implements UIProvider {
@Override
- public UI instantiateUI(Application application, Class<? extends UI> type,
+ public UI createInstance(Application application, Class<? extends UI> type,
WrappedRequest request) {
try {
return type.newInstance();
diff --git a/server/src/com/vaadin/server/UIProvider.java b/server/src/com/vaadin/server/UIProvider.java
index 36bb164845..ea73a705ea 100644
--- a/server/src/com/vaadin/server/UIProvider.java
+++ b/server/src/com/vaadin/server/UIProvider.java
@@ -23,6 +23,6 @@ public interface UIProvider {
public Class<? extends UI> getUIClass(Application application,
WrappedRequest request);
- public UI instantiateUI(Application application, Class<? extends UI> type,
+ public UI createInstance(Application application, Class<? extends UI> type,
WrappedRequest request);
}