aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/itmill/toolkit/Application.java35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/com/itmill/toolkit/Application.java b/src/com/itmill/toolkit/Application.java
index 78f3dad629..42412569e9 100644
--- a/src/com/itmill/toolkit/Application.java
+++ b/src/com/itmill/toolkit/Application.java
@@ -29,7 +29,6 @@
package com.itmill.toolkit;
import com.itmill.toolkit.service.ApplicationContext;
-import com.itmill.toolkit.service.License;
import com.itmill.toolkit.terminal.*;
import com.itmill.toolkit.ui.AbstractComponent;
import com.itmill.toolkit.ui.Component;
@@ -171,10 +170,6 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener
*/
private LinkedList windowDetachListeners = null;
- /**
- * License for running this application.
- */
- private License license = null;
/**
* Application resource mapping: key <-> resource.
@@ -1063,36 +1058,6 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener
return context;
}
- /**
- * Gets the license this application is running on.
- * <p>
- * The license is initialized by the <code>ApplicationServlet</code> class
- * before application is started. The license-file can not be found in
- * <code>WEB-INF/itmill-toolkit-license.xml</code>, you can set its
- * source in application <code>init</code> method.
- * </p>
- *
- * @return the License this application is currently using.
- */
- public License getToolkitLicense() {
- return license;
- }
-
- /**
- * Sets the license this application is currently using.
- * <p>
- * The license is initialized by the <code>ApplicationServlet</code>
- * before application is started. Changing the license after application
- * <code>init</code> method has no effect.
- * </p>
- *
- * @param license
- * the New license for this application.
- */
- public void setToolkitLicense(License license) {
- this.license = license;
- }
-
public void setFocusedComponent(Focusable focusable) {
this.pendingFocus = focusable;
}