summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-03 09:57:35 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-03 14:05:29 +0300
commit55afccf800425f66437fdffe3212b6b92fbeb1e5 (patch)
tree34a2927bf0c602e1a95e64948d1ea844925a30d9 /client
parent7c3febaf37b8bdfad31c7d407e9150d04e598bb2 (diff)
downloadvaadin-framework-55afccf800425f66437fdffe3212b6b92fbeb1e5.tar.gz
vaadin-framework-55afccf800425f66437fdffe3212b6b92fbeb1e5.zip
Remove Application.getVersion() (#9402)
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ApplicationConfiguration.java16
-rw-r--r--client/src/com/vaadin/client/ApplicationConnection.java1
2 files changed, 0 insertions, 17 deletions
diff --git a/client/src/com/vaadin/client/ApplicationConfiguration.java b/client/src/com/vaadin/client/ApplicationConfiguration.java
index e364facb43..0bb9bf1989 100644
--- a/client/src/com/vaadin/client/ApplicationConfiguration.java
+++ b/client/src/com/vaadin/client/ApplicationConfiguration.java
@@ -153,18 +153,6 @@ public class ApplicationConfiguration implements EntryPoint {
return this.getConfig("versionInfo").vaadinVersion;
}-*/;
- /**
- * Gets the version of the application running on the server.
- *
- * @return a string with the application version
- *
- * @see com.vaadin.Application#getVersion()
- */
- private native String getApplicationVersion()
- /*-{
- return this.getConfig("versionInfo").applicationVersion;
- }-*/;
-
private native String getUIDL()
/*-{
return this.getConfig("uidl");
@@ -393,10 +381,6 @@ public class ApplicationConfiguration implements EntryPoint {
return getJsoConfiguration(id).getVaadinVersion();
}
- public String getApplicationVersion() {
- return getJsoConfiguration(id).getApplicationVersion();
- }
-
public Class<? extends ServerConnector> getConnectorClassByEncodedTag(
int tag) {
Class<? extends ServerConnector> type = classes.get(tag);
diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java
index 88510e7bf6..6a1474fa45 100644
--- a/client/src/com/vaadin/client/ApplicationConnection.java
+++ b/client/src/com/vaadin/client/ApplicationConnection.java
@@ -264,7 +264,6 @@ public class ApplicationConnection {
VConsole.log("Vaadin application servlet version: "
+ cnf.getServletVersion());
- VConsole.log("Application version: " + cnf.getApplicationVersion());
if (!cnf.getServletVersion().equals(Version.getFullVersion())) {
VConsole.error("Warning: your widget set seems to be built with a different "