aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/CheckBox.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-11-30 15:15:28 +0000
committerArtur Signell <artur.signell@itmill.com>2010-11-30 15:15:28 +0000
commit520657d1ac2c53543f62a50f9362a73d50f61b47 (patch)
tree064196c408d24023b9b018c3bfcfdcda1c4b2ba1 /src/com/vaadin/ui/CheckBox.java
parent07df7dbf39bd4cb461843bcd03b4f43660d0e054 (diff)
downloadvaadin-framework-520657d1ac2c53543f62a50f9362a73d50f61b47.tar.gz
vaadin-framework-520657d1ac2c53543f62a50f9362a73d50f61b47.zip
#6082 Suppressed deprecation warnings
svn changeset:16239/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/ui/CheckBox.java')
-rw-r--r--src/com/vaadin/ui/CheckBox.java4
1 files changed, 3 insertions, 1 deletions
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);
}