summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/com/vaadin/ui/Component.java2
1 files changed, 1 insertions, 1 deletions
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();
}
}