From 6e1f6b65b53f2f2e01db5ef4b6c668d5cad5b08d Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 21 Jun 2012 16:11:59 +0300 Subject: [PATCH] Avoid double attach calls for sub windows (#9011) --- src/com/vaadin/ui/Root.java | 24 ------------------------ 1 file changed, 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? -- 2.39.5