From: Joonas Lehtinen Date: Tue, 16 Oct 2007 13:28:19 +0000 (+0000) Subject: Fixes missing license-class X-Git-Tag: 6.7.0.beta1~5840 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3ffcac2404bcc6ee8bd2509ebefb9daae812f64f;p=vaadin-framework.git Fixes missing license-class svn changeset:2526/svn branch:trunk --- 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. - *

- * The license is initialized by the ApplicationServlet class - * before application is started. The license-file can not be found in - * WEB-INF/itmill-toolkit-license.xml, you can set its - * source in application init method. - *

- * - * @return the License this application is currently using. - */ - public License getToolkitLicense() { - return license; - } - - /** - * Sets the license this application is currently using. - *

- * The license is initialized by the ApplicationServlet - * before application is started. Changing the license after application - * init method has no effect. - *

- * - * @param license - * the New license for this application. - */ - public void setToolkitLicense(License license) { - this.license = license; - } - public void setFocusedComponent(Focusable focusable) { this.pendingFocus = focusable; }