From: Artur Signell Date: Fri, 16 Mar 2012 09:38:25 +0000 (+0200) Subject: Consistently use getSecondComponent instead of using the state directly X-Git-Tag: 7.0.0.alpha2~307 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8fc7066f74431881cc09102e913785b13eee3a08;p=vaadin-framework.git Consistently use getSecondComponent instead of using the state directly --- 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; }