From 2e2020cb9b3a3f3353d7a56de7b1e0ab2b5186e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Mon, 28 May 2012 16:05:55 +0300 Subject: [PATCH] Fix accidental invalid cast (#6690) --- src/com/vaadin/terminal/gwt/client/ComponentLocator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/vaadin/terminal/gwt/client/ComponentLocator.java b/src/com/vaadin/terminal/gwt/client/ComponentLocator.java index 205317542f..f88cd6b143 100644 --- a/src/com/vaadin/terminal/gwt/client/ComponentLocator.java +++ b/src/com/vaadin/terminal/gwt/client/ComponentLocator.java @@ -11,7 +11,6 @@ import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.Element; import com.google.gwt.user.client.ui.HasWidgets; import com.google.gwt.user.client.ui.RootPanel; -import com.google.gwt.user.client.ui.SimplePanel; import com.google.gwt.user.client.ui.Widget; import com.vaadin.terminal.gwt.client.communication.SharedState; import com.vaadin.terminal.gwt.client.ui.SubPartAware; @@ -452,7 +451,7 @@ public class ComponentLocator { } if (connector instanceof ComponentConnector) { - w = ((SimplePanel) connector).getWidget(); + w = ((ComponentConnector) connector).getWidget(); } else { // Not found return null; -- 2.39.5