From a9eb13dcfa29f03c83de34c7bad83bfd7562bedd Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 16 Nov 2010 07:59:43 +0000 Subject: [PATCH] Test and fix update for #5989 - Removing a sub window from another window than its parent closes the window svn changeset:15995/svn branch:6.5 --- src/com/vaadin/ui/Window.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/vaadin/ui/Window.java b/src/com/vaadin/ui/Window.java index 741e488930..1ce4af154f 100644 --- a/src/com/vaadin/ui/Window.java +++ b/src/com/vaadin/ui/Window.java @@ -1438,7 +1438,7 @@ public class Window extends Panel implements URIHandler, ParameterHandler { * Window to be removed. * @return true if the subwindow was removed, false otherwise */ - public boolean removeWindow(Window window) throws IllegalArgumentException { + public boolean removeWindow(Window window) { if (!subwindows.remove(window)) { // Window window is not a subwindow of this window. return false; -- 2.39.5