From 88f28be83de249187df6209b6773d22b79bd8cbf Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 7 Nov 2012 16:26:25 +0200 Subject: [PATCH] Added missing cast (#9342) Change-Id: If8078ffea6fd2bcaf62591ed8930905cdc1d3a1d --- server/src/com/vaadin/ui/Component.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/vaadin/ui/Component.java b/server/src/com/vaadin/ui/Component.java index 187d5b8590..4797bb702c 100644 --- a/server/src/com/vaadin/ui/Component.java +++ b/server/src/com/vaadin/ui/Component.java @@ -753,7 +753,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable { * @return the source component of the event */ public Component getComponent() { - return getSource(); + return (Component) getSource(); } } -- 2.39.5