From 2ad19298bd12237dfaf3b2bc9ee9f7aafe737ecb Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 1 Oct 2012 23:40:29 +0300 Subject: [PATCH] Unified log message with other Property implementors (#9804) Change-Id: I0833381d7f7871d062b04ef0ed5408f1777022af --- server/src/com/vaadin/ui/Label.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/vaadin/ui/Label.java b/server/src/com/vaadin/ui/Label.java index 9434e92186..89281e0c27 100644 --- a/server/src/com/vaadin/ui/Label.java +++ b/server/src/com/vaadin/ui/Label.java @@ -219,7 +219,7 @@ public class Label extends AbstractComponent implements Property, public String toString() { logger.warning("You are using Label.toString() to get the value for a " + getClass().getSimpleName() - + ". This is not recommended and will not be supported in future versions."); + + ". This will not be supported starting from Vaadin 7.1 (your debugger might call toString() and cause this message to appear)."); return getValue(); } -- 2.39.5