diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-05 19:32:27 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-05 19:32:27 +0300 |
commit | 4019f7d03a1d8437a24ccadc562c30f99da5efe0 (patch) | |
tree | da2acd7754b028172a102980fe67195563f82b8c /uitest/src/com/vaadin/launcher | |
parent | cc3ddcac953a087b09ae330ff37126dcd5ec727f (diff) | |
download | vaadin-framework-4019f7d03a1d8437a24ccadc562c30f99da5efe0.tar.gz vaadin-framework-4019f7d03a1d8437a24ccadc562c30f99da5efe0.zip |
Rename LegacyApplication -> Application (#9402)
Diffstat (limited to 'uitest/src/com/vaadin/launcher')
-rw-r--r-- | uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java b/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java index 4f37a9b505..1e963a8cc8 100644 --- a/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java +++ b/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java @@ -29,7 +29,7 @@ import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import com.vaadin.LegacyApplication; +import com.vaadin.Application; import com.vaadin.server.AbstractUIProvider; import com.vaadin.server.ApplicationConfiguration; import com.vaadin.server.LegacyVaadinServlet; @@ -107,9 +107,9 @@ public class ApplicationRunnerServlet extends LegacyVaadinServlet { } @Override - protected Class<? extends LegacyApplication> getApplicationClass() + protected Class<? extends Application> getApplicationClass() throws ClassNotFoundException { - return getClassToRun().asSubclass(LegacyApplication.class); + return getClassToRun().asSubclass(Application.class); } @Override @@ -128,7 +128,7 @@ public class ApplicationRunnerServlet extends LegacyVaadinServlet { } }); return application; - } else if (LegacyApplication.class.isAssignableFrom(classToRun)) { + } else if (Application.class.isAssignableFrom(classToRun)) { return super.createApplication(request); } else if (UIProvider.class.isAssignableFrom(classToRun)) { VaadinServletSession application = new VaadinServletSession(); |