summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Benz <michael.benz@foconis.de>2018-10-01 10:02:18 +0200
committerSun Zhe <31067185+ZheSun88@users.noreply.github.com>2018-10-01 11:02:18 +0300
commite093bef0ccabd0843baee19318b61ef254911ab9 (patch)
tree87db2aa3f87159dfa70b9aa3a0164b069a636423
parenta7424153dcabcfd4adc8eb2147e9bcc9a5059ac4 (diff)
downloadvaadin-framework-e093bef0ccabd0843baee19318b61ef254911ab9.tar.gz
vaadin-framework-e093bef0ccabd0843baee19318b61ef254911ab9.zip
Updated Upload.java (#11203)
Javadoc correction of typos in getAcceptMimeTypes() and setAcceptMimeTypes(String acceptMimeTypes)
-rw-r--r--server/src/main/java/com/vaadin/ui/Upload.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Upload.java b/server/src/main/java/com/vaadin/ui/Upload.java
index 301dc2d2e2..018b06e581 100644
--- a/server/src/main/java/com/vaadin/ui/Upload.java
+++ b/server/src/main/java/com/vaadin/ui/Upload.java
@@ -1205,7 +1205,7 @@ public class Upload extends AbstractComponent
/**
* Returns the component's list of accepted content-types. According to RFC
- * 1867, the attributeis present, the browser might constrain the file
+ * 1867, if the attribute is present, the browser might constrain the file
* patterns prompted for to match those with the corresponding appropriate
* file extensions for the platform.
*
@@ -1219,7 +1219,7 @@ public class Upload extends AbstractComponent
/**
* Sets the component's list of accepted content-types. According to RFC
- * 1867, the attributeis present, the browser might constrain the file
+ * 1867, if the attribute is present, the browser might constrain the file
* patterns prompted for to match those with the corresponding appropriate
* file extensions for the platform. Good examples are: {@code image/*} or
* {@code image/png,text/plain}