diff options
author | Artur Signell <artur@vaadin.com> | 2012-06-21 16:11:59 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-06-21 17:11:39 +0300 |
commit | 6e1f6b65b53f2f2e01db5ef4b6c668d5cad5b08d (patch) | |
tree | 0241ca795d56bc8c447773f566defe31d48b1e28 | |
parent | a9b3ac5b70490b846020e7355c121bb52f5f8f46 (diff) | |
download | vaadin-framework-6e1f6b65b53f2f2e01db5ef4b6c668d5cad5b08d.tar.gz vaadin-framework-6e1f6b65b53f2f2e01db5ef4b6c668d5cad5b08d.zip |
Avoid double attach calls for sub windows (#9011)
-rw-r--r-- | src/com/vaadin/ui/Root.java | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/com/vaadin/ui/Root.java b/src/com/vaadin/ui/Root.java index 3727d6f251..64bfaf57a5 100644 --- a/src/com/vaadin/ui/Root.java +++ b/src/com/vaadin/ui/Root.java @@ -1177,30 +1177,6 @@ public abstract class Root extends AbstractComponentContainer implements removeListener(CLICK_EVENT_ID, ClickEvent.class, listener); } - /** - * Notifies the child components and windows that the root is attached to - * the application. - */ - @Override - public void attach() { - super.attach(); - for (Window w : windows) { - w.attach(); - } - } - - /** - * Notifies the child components and windows that the root is detached from - * the application. - */ - @Override - public void detach() { - super.detach(); - for (Window w : windows) { - w.detach(); - } - } - @Override public boolean isConnectorEnabled() { // TODO How can a Root be invisible? What does it mean? |