aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2021-07-26 11:04:05 +0300
committerGitHub <noreply@github.com>2021-07-26 11:04:05 +0300
commit528ca57d03c59891f264554e9f07be0785467373 (patch)
tree29060f7e3b90f54f8fe91ca3f997e8dacc5a2829 /server/src/main/java/com/vaadin
parent0c9ef57b2158c23b3d6e7aff3e6e26e4515f1604 (diff)
downloadvaadin-framework-528ca57d03c59891f264554e9f07be0785467373.tar.gz
vaadin-framework-528ca57d03c59891f264554e9f07be0785467373.zip
Deprecating Flash component. (#12348)
Also added missing JavaDocs.
Diffstat (limited to 'server/src/main/java/com/vaadin')
-rw-r--r--server/src/main/java/com/vaadin/ui/Flash.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Flash.java b/server/src/main/java/com/vaadin/ui/Flash.java
index 9f102a6d49..1b7df01238 100644
--- a/server/src/main/java/com/vaadin/ui/Flash.java
+++ b/server/src/main/java/com/vaadin/ui/Flash.java
@@ -32,8 +32,9 @@ import com.vaadin.ui.declarative.DesignContext;
*
* @author Vaadin Ltd.
* @since 7.0
+ * @deprecated No modern browsers support Flash content anymore.
*/
-@SuppressWarnings("serial")
+@Deprecated
public class Flash extends AbstractEmbedded {
/**
@@ -212,6 +213,8 @@ public class Flash extends AbstractEmbedded {
* information, and they are passed to the instantiated object. Parameters
* are are stored as name value pairs.
*
+ * @param name
+ * name of the parameter
* @return the Value of parameter or null if not found.
*/
public String getParameter(String name) {