From 8fc7066f74431881cc09102e913785b13eee3a08 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 16 Mar 2012 11:38:25 +0200 Subject: [PATCH] Consistently use getSecondComponent instead of using the state directly --- src/com/vaadin/ui/AbstractSplitPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/vaadin/ui/AbstractSplitPanel.java b/src/com/vaadin/ui/AbstractSplitPanel.java index f8f6381dae..58778a07ae 100644 --- a/src/com/vaadin/ui/AbstractSplitPanel.java +++ b/src/com/vaadin/ui/AbstractSplitPanel.java @@ -69,7 +69,7 @@ public abstract class AbstractSplitPanel extends AbstractLayout { return (getFirstComponent() == null ? getSecondComponent() : getFirstComponent()); } else if (i == 2) { - return (Component) state.getSecondChild(); + return getSecondComponent(); } return null; } -- 2.39.5