From: Artur Signell Date: Mon, 20 Oct 2008 12:19:33 +0000 (+0000) Subject: Removed (Component,float) constructor which can be easily mixed up with (Component... X-Git-Tag: 6.7.0.beta1~3967 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=54b9c1ca02c5e4eee276bbe1f287d5e645bfbaa1;p=vaadin-framework.git Removed (Component,float) constructor which can be easily mixed up with (Component,int) constructor svn changeset:5675/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/ui/OrderedLayout.java b/src/com/itmill/toolkit/ui/OrderedLayout.java index 9f5cfa86e8..f14ff5756c 100644 --- a/src/com/itmill/toolkit/ui/OrderedLayout.java +++ b/src/com/itmill/toolkit/ui/OrderedLayout.java @@ -106,17 +106,6 @@ public class OrderedLayout extends AbstractLayout implements requestRepaint(); } - /** - * TODO - * - * @param c - * @param expandRatio - */ - public void addComponent(Component c, float expandRatio) { - addComponent(c); - setExpandRatio(c, expandRatio); - } - /** * Adds a component into this container. The component is added to the left * or on top of the other components.