diff options
author | Artur Signell <artur@vaadin.com> | 2013-02-01 12:44:33 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-02-01 12:44:33 +0200 |
commit | 5be248803b9b670cd4cf24d5173e7f580180545e (patch) | |
tree | 52822df95e19f27955931c41e4c0cc5bc0612eba /server/src/com/vaadin/ui/Label.java | |
parent | 2aeb5189d3bcc09cd5376d7768da6e4c5a5cd6e2 (diff) | |
download | vaadin-framework-5be248803b9b670cd4cf24d5173e7f580180545e.tar.gz vaadin-framework-5be248803b9b670cd4cf24d5173e7f580180545e.zip |
Removed legacy toString implementations as promised in 7.0 (#10916)
Change-Id: I0e63f4cb3480c88b2c79996e23a2e89acce95b28
Diffstat (limited to 'server/src/com/vaadin/ui/Label.java')
-rw-r--r-- | server/src/com/vaadin/ui/Label.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/server/src/com/vaadin/ui/Label.java b/server/src/com/vaadin/ui/Label.java index f49a1403cf..f413ea47f2 100644 --- a/server/src/com/vaadin/ui/Label.java +++ b/server/src/com/vaadin/ui/Label.java @@ -203,23 +203,6 @@ public class Label extends AbstractComponent implements Property<String>, } /** - * Returns the value displayed by this label. - * - * @see java.lang.Object#toString() - * @deprecated As of 7.0, use {@link #getValue()} to get the value of the - * label or {@link #getPropertyDataSource()} .getValue() to get - * the value of the data source. - */ - @Deprecated - @Override - public String toString() { - logger.warning("You are using Label.toString() to get the value for a " - + getClass().getSimpleName() - + ". This will not be supported starting from Vaadin 7.1 (your debugger might call toString() and cause this message to appear)."); - return getValue(); - } - - /** * Gets the type of the Property. * * @see com.vaadin.data.Property#getType() |