diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-06-29 12:08:12 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-06-29 12:08:12 +0300 |
commit | 009cb0df4030a6b769a203ea0ce58d39b8c5bdc5 (patch) | |
tree | 53a33354098cc307c20e566e973a71c17950d58d | |
parent | fefbf1d45537c042207ec2795db4a7213ff73a8b (diff) | |
download | vaadin-framework-009cb0df4030a6b769a203ea0ce58d39b8c5bdc5.tar.gz vaadin-framework-009cb0df4030a6b769a203ea0ce58d39b8c5bdc5.zip |
Update deprecation messages to inform about changed HTML default (#9066)
-rw-r--r-- | src/com/vaadin/ui/Root.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/com/vaadin/ui/Root.java b/src/com/vaadin/ui/Root.java index 2ca2da05ac..9271097a46 100644 --- a/src/com/vaadin/ui/Root.java +++ b/src/com/vaadin/ui/Root.java @@ -1071,7 +1071,8 @@ public abstract class Root extends AbstractComponentContainer implements * @param caption * The message * - * @deprecated As of 7.0, use Notification.show instead + * @deprecated As of 7.0, use Notification.show instead but be aware that + * Notification.show does not allow HTML. */ @Deprecated public void showNotification(String caption) { @@ -1096,7 +1097,8 @@ public abstract class Root extends AbstractComponentContainer implements * @param type * The message type * - * @deprecated As of 7.0, use Notification.show instead + * @deprecated As of 7.0, use Notification.show instead but be aware that + * Notification.show does not allow HTML. */ @Deprecated public void showNotification(String caption, int type) { @@ -1121,7 +1123,8 @@ public abstract class Root extends AbstractComponentContainer implements * @param description * The message description * - * @deprecated As of 7.0, use Notification.show instead + * @deprecated As of 7.0, use new Notification(...).show(Page) instead but + * be aware that HTML by default not allowed. */ @Deprecated public void showNotification(String caption, String description) { @@ -1149,7 +1152,8 @@ public abstract class Root extends AbstractComponentContainer implements * @param type * The message type * - * @deprecated As of 7.0, use Notification.show instead + * @deprecated As of 7.0, use new Notification(...).show(Page) instead but + * be aware that HTML by default not allowed. */ @Deprecated public void showNotification(String caption, String description, int type) { @@ -1180,7 +1184,7 @@ public abstract class Root extends AbstractComponentContainer implements * Whether html in the caption and description should be * displayed as html or as plain text * - * @deprecated As of 7.0, use Notification.show instead + * @deprecated As of 7.0, use new Notification(...).show(Page). */ @Deprecated public void showNotification(String caption, String description, int type, |