From 520657d1ac2c53543f62a50f9362a73d50f61b47 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 30 Nov 2010 15:15:28 +0000 Subject: [PATCH] #6082 Suppressed deprecation warnings svn changeset:16239/svn branch:6.5 --- src/com/vaadin/ui/CheckBox.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/vaadin/ui/CheckBox.java b/src/com/vaadin/ui/CheckBox.java index e8b46c1d83..93138e10c0 100644 --- a/src/com/vaadin/ui/CheckBox.java +++ b/src/com/vaadin/ui/CheckBox.java @@ -8,7 +8,6 @@ import java.lang.reflect.Method; import com.vaadin.data.Property; -@SuppressWarnings("serial") @ClientWidget(com.vaadin.terminal.gwt.client.ui.VCheckBox.class) public class CheckBox extends Button { /** @@ -26,6 +25,7 @@ public class CheckBox extends Button { * @param initialState * the initial state of the switch button */ + @SuppressWarnings("deprecation") public CheckBox(String caption, boolean initialState) { super(caption, initialState); } @@ -72,6 +72,7 @@ public class CheckBox extends Button { * the Initial state of the switch-button. * @param dataSource */ + @SuppressWarnings("deprecation") public CheckBox(String caption, Property dataSource) { super(caption, dataSource); setSwitchMode(true); @@ -87,6 +88,7 @@ public class CheckBox extends Button { * the Button caption. */ + @SuppressWarnings("deprecation") public CheckBox(String caption) { super(caption, false); } -- 2.39.5